src/Rest/Traits/RestResourceIds.php
<?php
declare(strict_types = 1);
/**
* /src/Rest/Traits/RestResourceIds.php
*
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
namespace App\Rest\Traits;
/**
* @SuppressWarnings("unused")
*
* @package App\Rest\Traits
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
trait RestResourceIds
{
/**
* Before lifecycle method for ids method.
*
* @param mixed[] $criteria
* @param mixed[] $search
*/
public function beforeIds(array &$criteria, array &$search): void
{
}
/**
* Before lifecycle method for ids method.
*
* @param mixed[] $criteria
* @param mixed[] $search
* @param string[] $ids
*/
public function afterIds(array &$criteria, array &$search, array &$ids): void
{
}
}