Art4\JsonApiClient\Relationship::__construct PHP Method

__construct() public method

Sets the manager and parent
public __construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent )
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface The manager
$parent Art4\JsonApiClient\AccessInterface The parent
    public function __construct(FactoryManagerInterface $manager, AccessInterface $parent)
    {
        $this->manager = $manager;
        $this->container = new DataContainer();
    }