partkeepr

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

Sorter.php (476B)


      1 <?php
      2 
      3 namespace PartKeepr\DoctrineReflectionBundle\Filter;
      4 
      5 class Sorter implements AssociationPropertyInterface
      6 {
      7     use AssociationPropertyTrait;
      8 
      9     /**
     10      * @var string
     11      */
     12     private $direction;
     13 
     14     /**
     15      * @return string
     16      */
     17     public function getDirection()
     18     {
     19         return $this->direction;
     20     }
     21 
     22     /**
     23      * @param string $direction
     24      */
     25     public function setDirection($direction)
     26     {
     27         $this->direction = $direction;
     28     }
     29 }