src/Property.php
public function toLine()
    {
        // Property-name
        $line = $this->getName();

        // Adding params
        //@todo added check for $this->parameterBag because doctrine/orm proxies won't execute constructor - ok?
        if ($this->parameterBag && $this->parameterBag->hasParams()) {
            $line .= ';' . $this->parameterBag->toString();
        }

        // Property value
        $line .= ':' . $this->value->getEscapedValue();

        return $line;
    }
public function toLine()
    {
        // Property-name
        $line = $this->getName();

        // Adding params
        //@todo added check for $this->parameterBag because doctrine/orm proxies won't execute constructor - ok?
        if ($this->parameterBag && $this->parameterBag->hasParams()) {
            $line .= ';' . $this->parameterBag->toString();
        }

        // Property value
        $line .= ':' . $this->value->getEscapedValue();

        return $line;
    }
public function toLine ( ) { // Property-name $ line = $ this -> getName ( ) ; // Adding params //@todo added check for $this->parameterBag because doctrine/orm proxies won't execute constructor - ok? if ( $ this -> parameterBag && $ this -> parameterBag -> hasParams ( ) ) { $ line .= ';' . $ this -> parameterBag -> toString ( ) ; } // Property value $ line .= ':' . $ this -> value -> getEscapedValue ( ) ; return $ line ; }
Renders an unfolded line.

@return string
Renders an unfolded line .