src/Struct/fixes/aDataOptions.php
protected function _normalize($key, $type)
    {
        $type = strtolower($type);

        if ($type !== 'external' && $type !== 'internal')
            throw new \InvalidArgumentException;

        if ($type === 'external')
            $return = $this->_normalizeExternal($key);
        else
            $return = $this->_normalizeInternal($key);

        return $return;
    }
protected function _normalize($key, $type)
    {
        $type = strtolower($type);

        if ($type !== 'external' && $type !== 'internal')
            throw new \InvalidArgumentException;

        if ($type === 'external')
            $return = $this->_normalizeExternal($key);
        else
            $return = $this->_normalizeInternal($key);

        return $return;
    }
protected function _normalize ( $ key , $ type ) { $ type = strtolower ( $ type ) ; if ( $ type !== 'external' && $ type !== 'internal' ) throw new \ InvalidArgumentException ; if ( $ type === 'external' ) $ return = $ this -> _normalizeExternal ( $ key ) ; else $ return = $ this -> _normalizeInternal ( $ key ) ; return $ return ; }
Property Key Normalizer
@param string $key
@param string $type internal|external
@return string
Property Key Normalizer