public function __construct(IamConnectionInterface $connection, $resource) { $this->connection = $connection; $this->resource = $resource; }