This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <template> | |
| <component v-if="component" :is="component"></component> | |
| </template> | |
| <script> | |
| export default { | |
| data: () => ({ | |
| component: null, | |
| }), | |
| props: { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| declare(strict_types=1); | |
| namespace App\Controller; | |
| use Symfony\Component\HttpFoundation\RedirectResponse; | |
| use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | |
| trait AppControllerTrait | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <template> | |
| <component :is="vueComponent" @clickTitle="clickTitle"></component> | |
| </template> | |
| <script> | |
| export default { | |
| data: () => ({ | |
| vueComponent: typeof vue === 'undefined' ? { template: `<p>No vue component</p>` } : vue, | |
| }), | |
| methods: { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| declare(strict_types=1); | |
| namespace App\Twig; | |
| use Twig\TokenParser\EmbedTokenParser; | |
| class EmbedParser extends \Twig_TokenParser_Include | |
| { | |
| protected CONST TAG_NAME = 'embed'; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| declare(strict_types = 1); | |
| namespace K3ssen\BaseAdminBundle\Twig; | |
| class ComponentExtension extends \Twig_Extension | |
| { | |
| public function getTokenParsers() | |
| { | |
| // Example defining own component-tags |