| 1 | <?php |
||
| 3 | class BeforeAfter implements \Transphporm\Property\ContentPseudo { |
||
| 4 | private $insertLocation; |
||
| 5 | private $content; |
||
| 6 | |||
| 7 | public function __construct($insertLocation, \Transphporm\Property\Content $content) { |
||
| 11 | |||
| 12 | public function run($value, $pseudoArgs, $element) { |
||
| 15 | |||
| 16 | private function before($value, $element) { |
||
| 23 | |||
| 24 | private function after($value, $element) { |
||
| 29 | } |
||
| 30 |