Esempio n. 1
0
 /**
  * @param Client $client
  * @param ResourceReaderFactory $readerFactory
  * @param ResourceLocator $resourceLocator
  */
 public function __construct(Client $client = null, ResourceReaderFactory $readerFactory = null, ResourceLocator $resourceLocator = null)
 {
     parent::__construct($readerFactory ?: new LegacyGuzzleReaderFactory($client), new FilesystemWriter(), $resourceLocator);
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct(new StreamReaderFactory(), new StreamWriter(), new ResourceLocator());
 }