utils = $utils ; } public function getFunctions() { return array( new TwigFunction('getDayByNumber', [$this, 'getDayByNumber']), ); } public function getFilters() { return [ ]; } public function getDayByNumber($number) { return $this->utils->getDayByNumber($number) ; } }