galmi/xacmlBundle

View on GitHub
Annotations/XacmlResource.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Galmi\XacmlBundle\Annotations;

use Doctrine\Common\Annotations\Annotation\Target;

/**
 * Annotation for mapping action to entity
 *
 * @Annotation
 * @Target("METHOD")
 */
class XacmlResource
{
    /** @var string */
    public $entity;

    /** @var string */
    public $id;

    /** @var string */
    public $method = 'find';
}