isExpression() public méthode

Returns whether an expression is set
public isExpression ( ) : boolean
Résultat boolean
 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));
         }
     }
 }