protected function getNamingStrategy()
    {
        if (!$this->namingStrategy instanceof NamingStrategy) {
            $namingStrategy = $this->getOption('naming_strategy');

            if (!$namingStrategy instanceof NamingStrategy) {
                $namingStrategy = new UnderscoreNamingStrategy(CASE_LOWER);
            }

            $this->namingStrategy = $namingStrategy;
        }

        return $this->namingStrategy;
    }
protected function getNamingStrategy()
    {
        if (!$this->namingStrategy instanceof NamingStrategy) {
            $namingStrategy = $this->getOption('naming_strategy');

            if (!$namingStrategy instanceof NamingStrategy) {
                $namingStrategy = new UnderscoreNamingStrategy(CASE_LOWER);
            }

            $this->namingStrategy = $namingStrategy;
        }

        return $this->namingStrategy;
    }
protected function getNamingStrategy ( ) { if ( ! $ this -> namingStrategy instanceof NamingStrategy ) { $ namingStrategy = $ this -> getOption ( 'naming_strategy' ) ; if ( ! $ namingStrategy instanceof NamingStrategy ) { $ namingStrategy = new UnderscoreNamingStrategy ( CASE_LOWER ) ; } $ this -> namingStrategy = $ namingStrategy ; } return $ this -> namingStrategy ; }
Retrieve naming strategy.

@return NamingStrategy
Retrieve naming strategy .