/** * * */ public function __construct(ChainableInterface $chain, array $arguments = array()) { if (!array_key_exists(0, $arguments)) { $arguments[0] = $chain->getSDK()->getAuthToken()->getAccountId(); } parent::__construct($chain, $arguments); }
/** * * */ public function __construct(ChainableInterface $chain, array $arguments = array()) { if (!array_key_exists(0, $arguments)) { $arguments[0] = $chain->getSDK()->getAuthToken()->getAccountId(); } parent::__construct($chain, $arguments); $this->setTokenValue($this->getEntityIdName(), $this->getId()); }