Skip to content

Commit

Permalink
Merge pull request #15 from everlutionsk/symfony4-compat
Browse files Browse the repository at this point in the history
remove abstract get method from AjaxcomTrait
  • Loading branch information
klinec authored Jan 30, 2020
2 parents 47561b2 + c6cae6b commit 7a0c71b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Controller/AjaxcomTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* Class BaseController.
*
* @author Ivan Barlog <ivan.barlog@everlution.sk>
*
* The trait expects you provide a get($service) method,
* for example via Symfony\Bundle\FrameworkBundle\Controller\ControllerTrait
*/
trait AjaxcomTrait
{
Expand Down Expand Up @@ -88,6 +91,4 @@ protected function prependAjaxBlock(string $id): self

return $this;
}

abstract protected function get($id);
}

0 comments on commit 7a0c71b

Please sign in to comment.