You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
419 B
PHP
17 lines
419 B
PHP
<?php
|
|
|
|
class Zend_Acl_MockAssertion implements Zend_Acl_Assert_Interface
|
|
{
|
|
protected $_returnValue;
|
|
|
|
public function __construct($returnValue)
|
|
{
|
|
$this->_returnValue = (bool) $returnValue;
|
|
}
|
|
|
|
public function assert(Zend_Acl $acl, Zend_Acl_Role_Interface $role = null, Zend_Acl_Resource_Interface $resource = null,
|
|
$privilege = null)
|
|
{
|
|
return $this->_returnValue;
|
|
}
|
|
} |