public function getKeys($env, $prefix = null)
	{
		$this->validateEnvironment($env);

		$env  = $env === self::APP ? self::EXT : self::APP;
		$keys = array_keys($this->definitions[$env]);

		if ($prefix !== null) {
			$keys = array_map(function ($key) use ($prefix) {
				return $prefix . $key;
			}, $keys);
		}

		return $keys;
	}
public function getKeys($env, $prefix = null)
	{
		$this->validateEnvironment($env);

		$env  = $env === self::APP ? self::EXT : self::APP;
		$keys = array_keys($this->definitions[$env]);

		if ($prefix !== null) {
			$keys = array_map(function ($key) use ($prefix) {
				return $prefix . $key;
			}, $keys);
		}

		return $keys;
	}
public function getKeys ( $ env , $ prefix = null ) { $ this -> validateEnvironment ( $ env ) ; $ env = $ env === self :: APP ? self :: EXT : self :: APP ; $ keys = array_keys ( $ this -> definitions [ $ env ] ) ; if ( $ prefix !== null ) { $ keys = array_map ( function ( $ key ) use ( $ prefix ) { return $ prefix . $ key ; } , $ keys ) ; } return $ keys ; }
Returns all of the defined keys for the given environment.

@param string      $env    The environment from which to retrieve the keys
@param null|string $prefix Prefix will be applied to all key names
@return array
Returns all of the defined keys for the given environment .