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
| parameters: | |
| acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
| services: | |
| acme_test.my_service: | |
| class: %acme_test.my_service.class% | |
| arguments: [@ezpublish.config.resolver] |
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
| parameters: | |
| acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
| services: | |
| acme_test.my_service: | |
| class: %acme_test.my_service.class% | |
| calls: | |
| # Will resolve ezsettings.<current_siteaccess>.languages | |
| - [setLanguages, ["$languages$"]] | |
| - [setRootLocationId, ["$content.tree_root.location_id$"]] |
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
| parameters: | |
| acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
| services: | |
| acme_test.my_service: | |
| class: %acme_test.my_service.class% | |
| arguments: ["$languages$", "$content.tree_root.location_id$"] |
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
| parameters: | |
| acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
| # "acme" is our parameter namespace. | |
| # Null is the default value. | |
| acme.default.some_parameter: ~ | |
| acme.ezdemo_site.some_parameter: foo | |
| acme.ezdemo_site_admin.some_parameter: bar | |
| services: |
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
| parameters: | |
| acme.my_siteaccess.css.files: | |
| - "foo.css" | |
| - "some_dir/bar.css" |
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 | |
| $foo = function (&$arg) { | |
| var_dump($arg); | |
| }; | |
| $a = 'bar'; | |
| $b =& $a; | |
| // Warning: Parameter 1 to {closure}() expected to be a reference, value given in /Users/lolautruche/Desktop/reference.php on line 8 | |
| call_user_func_array($foo, [$b]); |
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
| https://gist.github.com/anonymous/05db9797771918c31635 |
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 Vendor\Bundle\ProjectBundle\Core\Search\Solr\Query\Content\FacetBuilder; | |
| use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder; | |
| class SuggestionFacetBuilder extends FacetBuilder | |
| { | |
| public $prefix; | |
| } |
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
| # A unique name for this application | |
| name: 'my-app' | |
| # The language and version to use | |
| type: 'php:7.4' | |
| runtime: | |
| extensions: | |
| - apcu | |
| - redis |
OlderNewer