expression = $expression; $this->name = $name; } /** * {@inheritDoc} */ public function getExpressionData() { $newSpecTypes = array(self::TYPE_LITERAL); $values = array($this->expression); $newSpec = ''; if ($this->name) { $newSpec .= $this->namedSpecification; array_unshift($values, $this->name); array_unshift($newSpecTypes, self::TYPE_IDENTIFIER); } return array(array( $newSpec . $this->specification, $values, $newSpecTypes, )); } }