public function getCoverFile($size)
    {
        $coverFilename = $this->coverFilename;

        //get the extension
        $extension = explode('.', $coverFilename);
        $extension = array_pop($extension);

        //remove file extension
        $name = preg_replace('#\.[^.]*$#', '', $coverFilename);
        $coverFilename = $name.'_'.$size.'.'.$extension;

        return $coverFilename;
    }
public function getCoverFile($size)
    {
        $coverFilename = $this->coverFilename;

        //get the extension
        $extension = explode('.', $coverFilename);
        $extension = array_pop($extension);

        //remove file extension
        $name = preg_replace('#\.[^.]*$#', '', $coverFilename);
        $coverFilename = $name.'_'.$size.'.'.$extension;

        return $coverFilename;
    }
public function getCoverFile ( $ size ) { $ coverFilename = $ this -> coverFilename ; //get the extension $ extension = explode ( '.' , $ coverFilename ) ; $ extension = array_pop ( $ extension ) ; //remove file extension $ name = preg_replace ( '#\.[^.]*$#' , '' , $ coverFilename ) ; $ coverFilename = $ name . '_' . $ size . '.' . $ extension ; return $ coverFilename ; }
Return the cover file for a size. Override the Coverable behavior due
to some legacy.

@see LibBaseDomainBehaviorCoverable

@return string
Return the cover file for a size . Override the Coverable behavior due to some legacy .