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;
 }