public function setPhpName($phpName = null)
    {
        if (null === $phpName) {
            $this->phpName = self::generatePhpName($this->name, $this->phpNamingMethod, $this->namePrefix);
        } else {
            $this->phpName = $phpName;
        }
    }
public function setPhpName($phpName = null)
    {
        if (null === $phpName) {
            $this->phpName = self::generatePhpName($this->name, $this->phpNamingMethod, $this->namePrefix);
        } else {
            $this->phpName = $phpName;
        }
    }
public function setPhpName ( $ phpName = null ) { if ( null === $ phpName ) { $ this -> phpName = self :: generatePhpName ( $ this -> name , $ this -> phpNamingMethod , $ this -> namePrefix ) ; } else { $ this -> phpName = $ phpName ; } }
Sets the name to use in PHP sources.

It will generate a phpName from its name if no
$phpName is passed.

@param string $phpName
Sets the name to use in PHP sources .