Backoffice/Perimeter/Strategy/PerimeterStrategyInterface.php
<?php
namespace OpenOrchestra\Backoffice\Perimeter\Strategy;
use OpenOrchestra\Backoffice\Model\PerimeterInterface;
/**
* Interface PerimeterStrategyInterface
*/
interface PerimeterStrategyInterface
{
/**
* Return the supported perimeter type
*/
public function getType();
/**
* Check if $item is contained in $perimeter
*
* @param string $item
* @param PerimeterInterface $perimeter
*
* @return boolean
*/
public function isInPerimeter($item, PerimeterInterface $perimeter);
}