src/ConfigurableTrait.php
public function setConfiguration($config) {
		if(!($config instanceof Config))
			$config = new Config($config);
		$this->config = $config;
	}
public function setConfiguration($config) {
		if(!($config instanceof Config))
			$config = new Config($config);
		$this->config = $config;
	}
public function setConfiguration ( $ config ) { if ( ! ( $ config instanceof Config ) ) $ config = new Config ( $ config ) ; $ this -> config = $ config ; }
Sets the configuration of the instance
@param iterable|Config $config
Sets the configuration of the instance