TestTimberImage::is_png PHP Méthode

is_png() public static méthode

public static is_png ( $file )
    public static function is_png($file)
    {
        $file = strtolower($file);
        if (strpos($file, '.png') > 0) {
            return true;
        }
        return false;
    }