public function __construct($name, $before, $after) { $this->name = $name; $this->before = $before; $this->after = $after; }