1<?php 2 3namespace LesserPHP\Functions; 4 5use LesserPHP\Lessc; 6 7abstract class AbstractFunctionCollection 8{ 9 protected Lessc $lessc; 10 11 /** 12 * Constructor 13 */ 14 public function __construct(Lessc $lessc) 15 { 16 $this->lessc = $lessc; 17 } 18 19 /** 20 * Get the functions provided by this collection 21 * 22 * @return array [name => callable] 23 */ 24 abstract public function getFunctions(): array; 25} 26