public function setPhpSingularName($phpSingularName = null)
    {
        if (null === $phpSingularName) {
            $this->phpSingularName = self::generatePhpSingularName($this->getPhpName());
        } else {
            $this->phpSingularName = $phpSingularName;
        }
    }
public function setPhpSingularName($phpSingularName = null)
    {
        if (null === $phpSingularName) {
            $this->phpSingularName = self::generatePhpSingularName($this->getPhpName());
        } else {
            $this->phpSingularName = $phpSingularName;
        }
    }
public function setPhpSingularName ( $ phpSingularName = null ) { if ( null === $ phpSingularName ) { $ this -> phpSingularName = self :: generatePhpSingularName ( $ this -> getPhpName ( ) ) ; } else { $ this -> phpSingularName = $ phpSingularName ; } }
Sets the singular forn of the name to use in PHP
sources.

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

@param string $phpSingularName
Sets the singular forn of the name to use in PHP sources .