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; }
/** * 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')); }
/** * 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 }