Yosymfony\Spress\Core\DataSource\Filesystem\FilesystemDataSource::isBinary PHP Méthode

isBinary() private méthode

private isBinary ( Symfony\Component\Finder\SplFileInfo $file )
$file Symfony\Component\Finder\SplFileInfo
    private function isBinary(SplFileInfo $file)
    {
        $fileInfo = new FileInfo($file->getPathname(), $this->params['text_extensions']);
        return false === $fileInfo->hasPredefinedExtension();
    }