/** * Factory method for instantiating ListBlock without using new. * @return ListBlock */ static function make() { $args = func_get_args(); $blocks = new ListBlock(); $blocks->add($args, self::APPEND); return $blocks; }