public function getValue()
    {
        if ($this->valueWasCached !== false) {
            return $this->value;
        }

        $this->value          = (new CompileNodeToValue())->__invoke(
            $this->node->consts[$this->positionInNode]->value,
            new CompilerContext($this->reflector, $this->getDeclaringClass())
        );
        $this->valueWasCached = true;

        return $this->value;
    }
public function getValue()
    {
        if ($this->valueWasCached !== false) {
            return $this->value;
        }

        $this->value          = (new CompileNodeToValue())->__invoke(
            $this->node->consts[$this->positionInNode]->value,
            new CompilerContext($this->reflector, $this->getDeclaringClass())
        );
        $this->valueWasCached = true;

        return $this->value;
    }
public function getValue ( ) { if ( $ this -> valueWasCached !== false ) { return $ this -> value ; } $ this -> value = ( new CompileNodeToValue ( ) ) -> __invoke ( $ this -> node -> consts [ $ this -> positionInNode ] -> value , new CompilerContext ( $ this -> reflector , $ this -> getDeclaringClass ( ) ) ) ; $ this -> valueWasCached = true ; return $ this -> value ; }
Returns constant value

@return mixed
Returns constant value