for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
*/
namespace flightlog\form;
use Webmozart\Assert\Assert;
* @author Laurent De Coninck <[email protected]>
class InputTextarea extends BaseInput
{
* @param string $name
* @param array $options
public function __construct($name, array $options = [])
parent::__construct($name, FormElementInterface::TYPE_TEXTAREA, $options);
}
* @param int $number
* @return $this
public function col($number)
Assert::integer($number);
$this->setAttribute('cols', $number);
return $this;
public function row($number)
$this->setAttribute('rows', $number);