public function pull($source, $target)
    {
        $pulled = false;
        if ($this->modx->getCacheManager()) {
            $pulled = $this->modx->cacheManager->copyFile($source, $target, array('copy_preserve_permissions' => true));
        }
        return $pulled;
    }
public function pull($source, $target)
    {
        $pulled = false;
        if ($this->modx->getCacheManager()) {
            $pulled = $this->modx->cacheManager->copyFile($source, $target, array('copy_preserve_permissions' => true));
        }
        return $pulled;
    }
public function pull ( $ source , $ target ) { $ pulled = false ; if ( $ this -> modx -> getCacheManager ( ) ) { $ pulled = $ this -> modx -> cacheManager -> copyFile ( $ source , $ target , array ( 'copy_preserve_permissions' => true ) ) ; } return $ pulled ; }
Pull a source to a specified target location.

@param string $source A valid stream URI or file path to the snapshot source.
@param string $target A valid stream URI or file path to copy the snapshot to.

@return bool Returns true if the pull was completed successfully.
Pull a source to a specified target location .