src/ZendMover/Command/AbstractMoveCommand.php
public function setToDirectoryFromFile($file)
    {
        $fileDir = $this->getFilePath($file);

        $this->setToDirectory($fileDir);

        return $this;
    }
public function setToDirectoryFromFile($file)
    {
        $fileDir = $this->getFilePath($file);

        $this->setToDirectory($fileDir);

        return $this;
    }
public function setToDirectoryFromFile ( $ file ) { $ fileDir = $ this -> getFilePath ( $ file ) ; $ this -> setToDirectory ( $ fileDir ) ; return $ this ; }
inspect file directory and set it

@param $file
@return $this
inspect file directory and set it