예제 #1
0
 public function __construct($descriptor, $parent, $accessor, $requestName)
 {
     parent::__construct($descriptor, $parent);
     $this->accessor = $accessor;
     $this->requestName = $requestName;
 }
예제 #2
0
 public function __construct(Descriptor $descriptor, Model $parent, $foreignKey, $localKey)
 {
     parent::__construct($descriptor, $parent);
     $this->foreignKey = $foreignKey;
     $this->localKey = $localKey;
 }