| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | abstract class AbstractThumbnail |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string the thumbnail path |
||
| 15 | */ |
||
| 16 | protected $_path; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return string the URL to the thumbnail |
||
| 20 | */ |
||
| 21 | abstract public function getUrl(); |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Class constructor |
||
| 25 | * @param string $path |
||
| 26 | */ |
||
| 27 | public function __construct($path) |
||
| 33 |