/var/www/vhosts/ihelp.ro/httpdocs/vendor/symfony/dom-crawler/Field
NameSizeModeActions
ChoiceFormField.php90190644editdlrm
FileFormField.php34280644editdlrm
FormField.php26140644editdlrm
InputFormField.php14380644editdlrm
TextareaFormField.php10060644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/symfony/dom-crawler/Field/TextareaFormField.php (1006B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DomCrawler\Field; /** * TextareaFormField represents a textarea form field (an HTML textarea tag). * * @author Fabien Potencier */ class TextareaFormField extends FormField { /** * Initializes the form field. * * @return void * * @throws \LogicException When node type is incorrect */ protected function initialize() { if ('textarea' !== $this->node->nodeName) { throw new \LogicException(sprintf('A TextareaFormField can only be created from a textarea tag (%s given).', $this->node->nodeName)); } $this->value = ''; foreach ($this->node->childNodes as $node) { $this->value .= $node->wholeText; } } }