src/Liuggio/RackspaceCloudFilesStreamWrapper/StreamWrapper/RackspaceCloudFilesStreamWrapper.php
public function initFromPath($path)
    { 
        $this->setPosition(0);
        $this->setDataBuffer(null);

        $resource = $this->getService()->createResourceFromPath($path);
        if (!$resource) {
            return false;
        }

        $this->setResource($resource);
        return $this;
    }
public function initFromPath($path)
    { 
        $this->setPosition(0);
        $this->setDataBuffer(null);

        $resource = $this->getService()->createResourceFromPath($path);
        if (!$resource) {
            return false;
        }

        $this->setResource($resource);
        return $this;
    }
public function initFromPath ( $ path ) { $ this -> setPosition ( 0 ) ; $ this -> setDataBuffer ( null ) ; $ resource = $ this -> getService ( ) -> createResourceFromPath ( $ path ) ; if ( ! $ resource ) { return false ; } $ this -> setResource ( $ resource ) ; return $ this ; }
creates the resource, the container and the object by the path given

@param string $path
@return bool|RackspaceCloudFilesStreamWrapper
creates the resource the container and the object by the path given