Neos\Fusion\TypoScriptObjects\DebugImplementation::evaluate PHP Метод

evaluate() публичный Метод

Return the values in a human readable form
public evaluate ( ) : void | string
Результат void | string
    public function evaluate()
    {
        $title = $this->getTitle();
        $plaintext = $this->getPlaintext();
        $debugData = array();
        foreach (array_keys($this->properties) as $key) {
            if (in_array($key, $this->ignoreProperties)) {
                continue;
            }
            $debugData[$key] = $this->tsValue($key);
        }
        if (count($debugData) === 0) {
            $debugData = null;
        } elseif (array_key_exists('value', $debugData) && count($debugData) === 1) {
            $debugData = $debugData['value'];
        }
        return \Neos\Flow\var_dump($debugData, $title, true, $plaintext);
    }