aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vendor/splitbrain/lesserphp/src/Functions/AbstractFunctionCollection.php
blob: 87cc5c32062ae5061704d52484bf106e76508681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

namespace LesserPHP\Functions;

use LesserPHP\Lessc;

abstract class AbstractFunctionCollection
{
    protected Lessc $lessc;

    /**
     * Constructor
     */
    public function __construct(Lessc $lessc)
    {
        $this->lessc = $lessc;
    }

    /**
     * Get the functions provided by this collection
     *
     * @return array [name => callable]
     */
    abstract public function getFunctions(): array;
}