getBinaryStream() public method

Retrieve a stream of a binary property value
public getBinaryStream ( string $path ) : resource
$path string absolute path to the property containing binary data
return resource with binary data
 /**
  * {@inheritDoc}
  */
 public function getBinaryStream($path)
 {
     $this->logger->startCall(__FUNCTION__, func_get_args());
     $result = $this->transport->getBinaryStream($path);
     $this->logger->stopCall();
     return $result;
 }
Example #2
0
 /**
  * Retrieves the stream for a binary value.
  *
  * @param string $path The absolute path to the stream
  *
  * @return stream
  */
 public function getBinaryStream($path)
 {
     return $this->transport->getBinaryStream($this->getFetchPath($path, 'Node'));
 }
Example #3
0
 /**
  * Retrieves the stream for a binary value.
  *
  * @param string $path The absolute path to the stream
  *
  * @return stream
  */
 public function getBinaryStream($path)
 {
     // TODO: should we not rather use getFetchPath ?
     return $this->transport->getBinaryStream($this->resolveBackendPath($path));
     // path guaranteed to be normalized and absolute
 }