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
$container->registerForAutoconfiguration(ExtensionInterface::class)->addTag('twig.extension'); |
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 bin/console debug:container App\Twig\TwigExtension |
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
Describes a logger instance. | |
Psr\Log\LoggerInterface (monolog.logger) | |
Psr\Log\LoggerInterface $buzzLogger (monolog.logger.buzz) | |
Psr\Log\LoggerInterface $cacheLogger (monolog.logger.cache) | |
Psr\Log\LoggerInterface $consoleLogger (monolog.logger.console) | |
Psr\Log\LoggerInterface $debugLogger (monolog.logger.debug) | |
Psr\Log\LoggerInterface $doctrineLogger (monolog.logger.doctrine) | |
Psr\Log\LoggerInterface $eventLogger (monolog.logger.event) | |
Psr\Log\LoggerInterface $httpClientLogger (monolog.logger.http_client) | |
Psr\Log\LoggerInterface $lockLogger (monolog.logger.lock) |
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
<div class="name"> | |
<p>{{ item.name }}</p> | |
</div> |
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
netgen_layouts: | |
query_types: | |
the_cat_api: | |
name: 'The Cat API' | |
view: | |
item_view: | |
default: | |
the_cat_api_value_type: | |
template: "@nglayouts/value/the_cat_api.html.twig" | |
match: |
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
app.collection.query_type.handler.the_cat_api: | |
class: AppBundle\Layouts\QueryType\TheCatApiQueryType | |
arguments: | |
- '@app.integration.cat_api_client' | |
tags: | |
- { name: netgen_layouts.query_type_handler, type: the_cat_api } |
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 | |
namespace AppBundle\Layouts\QueryType; | |
use AppBundle\Integration\TheCatApi\Service; | |
use Netgen\Layouts\API\Values\Collection\Query; | |
use Netgen\Layouts\Collection\QueryType\QueryTypeHandlerInterface; | |
use Netgen\Layouts\Parameters\ParameterBuilderInterface; | |
use Netgen\Layouts\Parameters\ParameterType; |
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
app.integration.value_converter.the_cat_api: | |
class: AppBundle\Integration\TheCatApi\TheCatApiValueConverter | |
tags: | |
- { name: netgen_layouts.cms_value_converter } |
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 | |
namespace AppBundle\Integration\TheCatApi; | |
use AppBundle\Integration\TheCatApi\Value\TheCatApiValue; | |
use Netgen\Layouts\Item\ValueConverterInterface; | |
class TheCatApiValueConverter implements ValueConverterInterface | |
{ | |
public function supports(object $object): bool |
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 | |
namespace AppBundle\Integration\TheCatApi\Value; | |
class TheCatApiValue | |
{ | |
/** | |
* @var string | |
*/ | |
private $id; |