StrategyInterface
last analyzed

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
get() 0 1 ?
1
<?php
2
namespace Nubs\Sensible\Strategy;
3
4
/**
5
 * A strategy pattern interface for finding commands.
6
 */
7
interface StrategyInterface
8
{
9
    /**
10
     * Return the path to the command if this strategy can find one.
11
     *
12
     * @return string|null The path to the command if found, null otherwise.
13
     */
14
    public function get();
15
}
16