| 1 | <?php |
||
| 7 | class AssetPublisher extends Publisher |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Determine whether the result message will shown in the console. |
||
| 11 | * |
||
| 12 | * @var bool |
||
| 13 | */ |
||
| 14 | protected $showMessage = false; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Get destination path. |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getDestinationPath() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get source path. |
||
| 28 | * |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getSourcePath() |
||
| 37 | } |
||
| 38 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.