protected function getTarget($path, $file = null)
    {
        if ($file === null) {
            $nArr = explode('.', $this->raw['name']);
            $file = md5(microtime(true) . implode('.', $nArr)) . '.' . array_pop($nArr);
        }

        return rtrim($path, '\\/') . '/' . $file;
    }
protected function getTarget($path, $file = null)
    {
        if ($file === null) {
            $nArr = explode('.', $this->raw['name']);
            $file = md5(microtime(true) . implode('.', $nArr)) . '.' . array_pop($nArr);
        }

        return rtrim($path, '\\/') . '/' . $file;
    }
protected function getTarget ( $ path , $ file = null ) { if ( $ file === null ) { $ nArr = explode ( '.' , $ this -> raw [ 'name' ] ) ; $ file = md5 ( microtime ( true ) . implode ( '.' , $ nArr ) ) . '.' . array_pop ( $ nArr ) ; } return rtrim ( $ path , '\\/' ) . '/' . $ file ; }
Builds file name with path

@param string      $path
@param null|string $file

@return string
Builds file name with path