示例#1
0
 public function __construct(AbstractPermitionEntity $permition)
 {
     parent::__construct($permition->getAttributes());
     $this->permition = $permition;
     $this->attachBehaviors($permition->behaviours());
 }