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
{ | |
"took": 3, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 22, |
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
#!/bin/bash | |
PROJECTROOT=`pwd` | |
if [ ! -f ${PROJECTROOT}/.php_cs ]; then | |
exit 0 | |
fi | |
hash php-cs-fixer 2>/dev/null || { echo >&2 "I require php-cs-fixer but it's not installed. Aborting."; exit 1; } |
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
#!/usr/bin/env bash | |
if [[ $# -eq 0 ]] ; then | |
echo 'ERROR: no version provided' | |
exit 1 | |
fi | |
if [ ${2} ] ; then | |
./__solr/${1}/bin/solr stop -all | |
exit 1 |
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 ClientName\Bundle\ProjectBundle\ApiLoader; | |
use eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory; | |
use eZ\Publish\Core\Repository\Helper\DomainMapper; | |
use eZ\Publish\Core\Repository\Helper\FieldTypeRegistry; | |
use eZ\Publish\SPI\Persistence; | |
use Symfony\Component\DependencyInjection\ContainerAware; |
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: | |
client_name.ezpublish.repository.permission_criterion_handler.class: eZ\Publish\Core\Repository\PermissionsCriterionHandler | |
client_name.ezpublish.repository.domain_mapper.factory.class: ClientName\Bundle\ProjectBundle\ApiLoader\RepositoryDomainMapperFactory | |
client_name.ezpublish.repository.domain_mapper.class: eZ\Publish\Core\Repository\Helper\DomainMapper | |
services: | |
# Legacy Search Service | |
client_name.ezpublish.repository.domain_mapper.factory: | |
class: %client_name.ezpublish.repository.domain_mapper.factory.class% | |
arguments: |
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; | |
} |
OlderNewer