getValue() public méthode

Returns the value
public getValue ( ) : mixed
Résultat mixed
 private function writeValue(ValueInterface $model)
 {
     if ($model->isExpression()) {
         $this->writer->write($model->getExpression());
     } else {
         $value = $model->getValue();
         if ($value instanceof PhpConstant) {
             $this->writer->write($value->getName());
         } else {
             $this->writer->write($this->exportVar($value));
         }
     }
 }
 protected function isValueNull(ValueInterface $obj)
 {
     $this->assertNull($obj->getValue());
 }