protected function configure( \Altamira\JsWriter\JsWriterAbstract $jsWriter )
	{
	    $confInstance = \Altamira\Config::getInstance();
	    $file = $confInstance['altamira.root'] . $confInstance['altamira.typeconfigpath'];
	    $config = \parse_ini_file( $file, true );
	    
	    $libConfig = $config[strtolower( $jsWriter->getLibrary() )];
	    $type = static::TYPE;
        $typeAttributes = preg_grep( "/$type\./i", array_keys( $libConfig ) );
	    foreach ( $typeAttributes as $key ) {
	        $attribute = preg_replace( "/{$type}\./i", '', $key );
	        $this->{$attribute} = $libConfig[$key];
	    }
	}
protected function configure( \Altamira\JsWriter\JsWriterAbstract $jsWriter )
	{
	    $confInstance = \Altamira\Config::getInstance();
	    $file = $confInstance['altamira.root'] . $confInstance['altamira.typeconfigpath'];
	    $config = \parse_ini_file( $file, true );
	    
	    $libConfig = $config[strtolower( $jsWriter->getLibrary() )];
	    $type = static::TYPE;
        $typeAttributes = preg_grep( "/$type\./i", array_keys( $libConfig ) );
	    foreach ( $typeAttributes as $key ) {
	        $attribute = preg_replace( "/{$type}\./i", '', $key );
	        $this->{$attribute} = $libConfig[$key];
	    }
	}
protected function configure ( \ Altamira \ JsWriter \ JsWriterAbstract $ jsWriter ) { $ confInstance = \ Altamira \ Config :: getInstance ( ) ; $ file = $ confInstance [ 'altamira.root' ] . $ confInstance [ 'altamira.typeconfigpath' ] ; $ config = \ parse_ini_file ( $ file , true ) ; $ libConfig = $ config [ strtolower ( $ jsWriter -> getLibrary ( ) ) ] ; $ type = static :: TYPE ; $ typeAttributes = preg_grep ( "/$type\./i" , array_keys ( $ libConfig ) ) ; foreach ( $ typeAttributes as $ key ) { $ attribute = preg_replace ( "/{$type}\./i" , '' , $ key ) ; $ this -> { $ attribute } = $ libConfig [ $ key ] ; } }
configures instance upon construct
@param \Altamira\JsWriter\JsWriterAbstract $jsWriter
configures instance upon construct