partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

AssociationPropertyTrait.php (750B)


      1 <?php
      2 
      3 namespace PartKeepr\DoctrineReflectionBundle\Filter;
      4 
      5 trait AssociationPropertyTrait
      6 {
      7     /**
      8      * @var string
      9      */
     10     private $property;
     11     /**
     12      * @var string
     13      */
     14     private $association;
     15 
     16     /**
     17      * @return string
     18      */
     19     public function getProperty()
     20     {
     21         return $this->property;
     22     }
     23 
     24     /**
     25      * @param string $property
     26      */
     27     public function setProperty($property)
     28     {
     29         $this->property = $property;
     30     }
     31 
     32     /**
     33      * @return string
     34      */
     35     public function getAssociation()
     36     {
     37         return $this->association;
     38     }
     39 
     40     /**
     41      * @param string $association
     42      */
     43     public function setAssociation($association)
     44     {
     45         $this->association = $association;
     46     }
     47 }