src/Translation.php
protected function readConfig() {
		$file = $this->path->getConfigPath() . '/translation.php';
		if (file_exists($file)) {
			$config = require($file);
			if (isset($config['translations'])) {
				$this->translations = $config['translations'];
			}
			if (isset($config['defaultLocale'])) {
				$this->setDefaultLocale($config['defaultLocale']);
			}
		}
		return $this;
	}
protected function readConfig() {
		$file = $this->path->getConfigPath() . '/translation.php';
		if (file_exists($file)) {
			$config = require($file);
			if (isset($config['translations'])) {
				$this->translations = $config['translations'];
			}
			if (isset($config['defaultLocale'])) {
				$this->setDefaultLocale($config['defaultLocale']);
			}
		}
		return $this;
	}
protected function readConfig ( ) { $ file = $ this -> path -> getConfigPath ( ) . '/translation.php' ; if ( file_exists ( $ file ) ) { $ config = require ( $ file ) ; if ( isset ( $ config [ 'translations' ] ) ) { $ this -> translations = $ config [ 'translations' ] ; } if ( isset ( $ config [ 'defaultLocale' ] ) ) { $ this -> setDefaultLocale ( $ config [ 'defaultLocale' ] ) ; } } return $ this ; }
Read configurations.

@return self
Read configurations .