src/Helper/AccessableTrait.php
private function parseKey($key)
    {
        if (is_object($key) and $key instanceof AccessKey) {
            return $key;
        }

        $key = AccessKey::create($key);

        return $key;
    }
private function parseKey($key)
    {
        if (is_object($key) and $key instanceof AccessKey) {
            return $key;
        }

        $key = AccessKey::create($key);

        return $key;
    }
private function parseKey ( $ key ) { if ( is_object ( $ key ) and $ key instanceof AccessKey ) { return $ key ; } $ key = AccessKey :: create ( $ key ) ; return $ key ; }
Parse a dot.notated.key to an object

@param string|AccessKey $key The key

@return AccessKey The parsed key
Parse a dot . notated . key to an object