public function shouldBeRenamed()
    {
        return (bool) ($this->hasPath() && $this->guessFilename() != pathinfo($this->getPath(), PATHINFO_BASENAME));
    }
public function shouldBeRenamed()
    {
        return (bool) ($this->hasPath() && $this->guessFilename() != pathinfo($this->getPath(), PATHINFO_BASENAME));
    }
public function shouldBeRenamed ( ) { return ( bool ) ( $ this -> hasPath ( ) && $ this -> guessFilename ( ) != pathinfo ( $ this -> getPath ( ) , PATHINFO_BASENAME ) ) ; }
Returns whether the uploadable should be renamed or not.

@return boolean
Returns whether the uploadable should be renamed or not .