/** * Allow write access to "css" as a dynamic property. * Call inherited method for other properties. * * This allows to set css style properties using an array. * * @see FluentDOM::__get() * @param string $name * @param mixed $value */ public function __set($name, $value) { switch ($name) { case 'css': $this->css($value); return; } parent::__set($name, $value); }