public function get($key)
    {
        expect_type($key, 'string');

        $value = DotKey::on($this)->get($key);

        if (!isset($value)) {
            throw new NotFoundException("Config setting '$key' not found");
        }

        return $value;
    }
public function get($key)
    {
        expect_type($key, 'string');

        $value = DotKey::on($this)->get($key);

        if (!isset($value)) {
            throw new NotFoundException("Config setting '$key' not found");
        }

        return $value;
    }
public function get ( $ key ) { expect_type ( $ key , 'string' ) ; $ value = DotKey :: on ( $ this ) -> get ( $ key ) ; if ( ! isset ( $ value ) ) { throw new NotFoundException ( "Config setting '$key' not found" ) ; } return $ value ; }
Finds an entry of the container by its identifier and returns it.
Supports dot key notation.

@param string $key
@return mixed
Finds an entry of the container by its identifier and returns it . Supports dot key notation .