protected function publishItem($from, $to)
    {
        if ($this->files->isFile($from)) {
            return $this->publishFile($from, $to);
        } elseif ($this->files->isDirectory($from)) {
            return $this->publishDirectory($from, $to);
        }

        $this->error("Can't locate path: <{$from}>");
    }
protected function publishItem($from, $to)
    {
        if ($this->files->isFile($from)) {
            return $this->publishFile($from, $to);
        } elseif ($this->files->isDirectory($from)) {
            return $this->publishDirectory($from, $to);
        }

        $this->error("Can't locate path: <{$from}>");
    }
protected function publishItem ( $ from , $ to ) { if ( $ this -> files -> isFile ( $ from ) ) { return $ this -> publishFile ( $ from , $ to ) ; } elseif ( $ this -> files -> isDirectory ( $ from ) ) { return $ this -> publishDirectory ( $ from , $ to ) ; } $ this -> error ( "Can't locate path: <{$from}>" ) ; }
Publish the given item from and to the given location.

@param  string  $from
@param  string  $to
@return void
Publish the given item from and to the given location .