| 1 | <?php |
||
| 5 | abstract class Attachment |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The attachment path. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $path; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Create a new attachment instance. |
||
| 16 | * |
||
| 17 | * @param string $path |
||
| 18 | */ |
||
| 19 | 4 | public function __construct($path) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Get the attachment path. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 3 | public function getPath() |
|
| 33 | } |
||
| 34 |