public function tokenizeUrl($url)
	{
		if(!is_file($url))
		{
			throw new \RuntimeException(sprintf('URL does not point to a valid file: "%s"', $url));
		}
		
		$source = @file_get_contents($url);
		
		if($source === false)
		{
			// @codeCoverageIgnoreStart
			throw new \RuntimeException(sprintf('Unable to tokenize contents loaded from: "%s"', $url));
			// @codeCoverageIgnoreEnd
		}
		
		return $this->tokenize($source);
	}
public function tokenizeUrl($url)
	{
		if(!is_file($url))
		{
			throw new \RuntimeException(sprintf('URL does not point to a valid file: "%s"', $url));
		}
		
		$source = @file_get_contents($url);
		
		if($source === false)
		{
			// @codeCoverageIgnoreStart
			throw new \RuntimeException(sprintf('Unable to tokenize contents loaded from: "%s"', $url));
			// @codeCoverageIgnoreEnd
		}
		
		return $this->tokenize($source);
	}
public function tokenizeUrl ( $ url ) { if ( ! is_file ( $ url ) ) { throw new \ RuntimeException ( sprintf ( 'URL does not point to a valid file: "%s"' , $ url ) ) ; } $ source = @ file_get_contents ( $ url ) ; if ( $ source === false ) { // @codeCoverageIgnoreStart throw new \ RuntimeException ( sprintf ( 'Unable to tokenize contents loaded from: "%s"' , $ url ) ) ; // @codeCoverageIgnoreEnd } return $ this -> tokenize ( $ source ) ; }
Tokenize the resource at the given url and return the
resulting token sequence.

@param string $url
@return AbstractTokenSequence

@throws \RuntimeException
Tokenize the resource at the given url and return the resulting token sequence .