src/ViewManager.php
protected function configure(array $config)
	{
		if (isset($config['parsers']))
		{
			$this->registerParsers($config['parsers']);
		}

		if (isset($config['cache']))
		{
			$this->cachePath = rtrim('cache', '\\/').DIRECTORY_SEPARATOR;
		}

		if (isset($config['auto_filter']))
		{
			$this->autoFilter = (bool) $config['auto_filter'];
		}

		if (isset($config['view_folder']))
		{
			$this->setViewFolder($config['view_folder']);
		}

		if (isset($config['whitelist']))
		{
			$this->whitelist($config['whitelist']);
		}
	}
protected function configure(array $config)
	{
		if (isset($config['parsers']))
		{
			$this->registerParsers($config['parsers']);
		}

		if (isset($config['cache']))
		{
			$this->cachePath = rtrim('cache', '\\/').DIRECTORY_SEPARATOR;
		}

		if (isset($config['auto_filter']))
		{
			$this->autoFilter = (bool) $config['auto_filter'];
		}

		if (isset($config['view_folder']))
		{
			$this->setViewFolder($config['view_folder']);
		}

		if (isset($config['whitelist']))
		{
			$this->whitelist($config['whitelist']);
		}
	}
protected function configure ( array $ config ) { if ( isset ( $ config [ 'parsers' ] ) ) { $ this -> registerParsers ( $ config [ 'parsers' ] ) ; } if ( isset ( $ config [ 'cache' ] ) ) { $ this -> cachePath = rtrim ( 'cache' , '\\/' ) . DIRECTORY_SEPARATOR ; } if ( isset ( $ config [ 'auto_filter' ] ) ) { $ this -> autoFilter = ( bool ) $ config [ 'auto_filter' ] ; } if ( isset ( $ config [ 'view_folder' ] ) ) { $ this -> setViewFolder ( $ config [ 'view_folder' ] ) ; } if ( isset ( $ config [ 'whitelist' ] ) ) { $ this -> whitelist ( $ config [ 'whitelist' ] ) ; } }
Configures the view manager

@param array $config
Configures the view manager