public function addConstant(Constant $constant): void
    {
        $this->constants[(string) $constant->getFqsen()] = $constant;
    }
public function addConstant(Constant $constant): void
    {
        $this->constants[(string) $constant->getFqsen()] = $constant;
    }
public function addConstant ( Constant $ constant ) : void { $ this -> constants [ ( string ) $ constant -> getFqsen ( ) ] = $ constant ; }
Add Constant to this class.
Add Constant to this class .