You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the methods defined by the interface are in place the interface itself is not implemented. This causes an error if a Resource instance is explicitely tested against the interface:
use Phalcon\Acl\Resource;
use Phalcon\Acl\ResourceInterface;
$object = new Resource('id');
if ($object instanceof ResourceInterface) {
echo 'instance of ResourceInterface';
}
else {
echo 'not an instance of ResourceInterface';
}
Phalcon version 2.0.13
Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered:
While the methods defined by the interface are in place the interface itself is not implemented. This causes an error if a Resource instance is explicitely tested against the interface:
Phalcon version 2.0.13
Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: