public function __construct($descriptor, $parent, $accessor, $requestName) { parent::__construct($descriptor, $parent); $this->accessor = $accessor; $this->requestName = $requestName; }
public function __construct(Descriptor $descriptor, Model $parent, $foreignKey, $localKey) { parent::__construct($descriptor, $parent); $this->foreignKey = $foreignKey; $this->localKey = $localKey; }