public function permission($source, $pre)
    {
        if (!is_dir($source)) {
            return (file_exists($source)) ? chmod($source, $pre) : false;
        }

        return false;
    }
public function permission($source, $pre)
    {
        if (!is_dir($source)) {
            return (file_exists($source)) ? chmod($source, $pre) : false;
        }

        return false;
    }
public function permission ( $ source , $ pre ) { if ( ! is_dir ( $ source ) ) { return ( file_exists ( $ source ) ) ? chmod ( $ source , $ pre ) : false ; } return false ; }
Change the permission.

@param (string) $source Name of file or directory with path.
@param (mixed)  $pre    Valid permission.

@since 2.0.0

@return bool
Change the permission .