src/Resource/AbstractProcessor.php
public function isSupported(FileSource $source)
	{
		$base = $source->getFileInfo()->getBasename();
		
		foreach($this->extensions as $ext)
		{
			if(preg_match("'\\." . preg_quote($ext, "'") . "$'i", $base))
			{
				return true;
			}
		}
		
		return false;
	}
public function isSupported(FileSource $source)
	{
		$base = $source->getFileInfo()->getBasename();
		
		foreach($this->extensions as $ext)
		{
			if(preg_match("'\\." . preg_quote($ext, "'") . "$'i", $base))
			{
				return true;
			}
		}
		
		return false;
	}
public function isSupported ( FileSource $ source ) { $ base = $ source -> getFileInfo ( ) -> getBasename ( ) ; foreach ( $ this -> extensions as $ ext ) { if ( preg_match ( "'\\." . preg_quote ( $ ext , "'" ) . "$'i" , $ base ) ) { return true ; } } return false ; }
{@inheritdoc}
{