GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ExpressionFunctionInterface
last analyzed

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 30
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
getContextVariables() 0 1 ?
getName() 0 1 ?
getCompiler() 0 1 ?
getEvaluator() 0 1 ?
1
<?php
2
3
namespace Hateoas\Expression;
4
5
/**
6
 * @author William Durand <[email protected]>
7
 */
8
interface ExpressionFunctionInterface
9
{
10
    /**
11
     * Return the name of the function in an expression.
12
     *
13
     * @return string
14
     */
15
    public function getName();
16
17
    /**
18
     * Return a function executed when compiling an expression using the function.
19
     *
20
     * @return closure
21
     */
22
    public function getCompiler();
23
24
    /**
25
     * Return a function executed when the expression is evaluated.
26
     *
27
     * @return closure
28
     */
29
    public function getEvaluator();
30
31
    /**
32
     * Return context variables as an array.
33
     *
34
     * @return array
35
     */
36
    public function getContextVariables();
37
}
38