This file contains 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
class UrlGenerator implements UrlGeneratorInterface | |
{ | |
public function generate(string $name, array $parameters = [], int $referenceType = self::ABSOLUTE_PATH) | |
{ | |
return 'hola'; | |
} | |
} |
This file contains 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 | |
$langs = [ | |
"es" => [ | |
"label" => "es", | |
"name" => "Spanish" | |
"locales => [ | |
"es_ar" => [ | |
"label" => "es_AR", | |
"name" => "Spanish (Argentina) | |
] |
This file contains 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 | |
class Person | |
{ | |
private $name; | |
public function getName() | |
{ | |
return $this->name; | |
} |
This file contains 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 | |
class AppBundle extends Bundle | |
{ | |
public function build(ContainerBuilder $container) | |
{ | |
$container->addCompilerPass(new ToolsImporters()); | |
$container->addCompilerPass(new MainMenuLinksPass()); | |
$container->addCompilerPass(new BreadcrumbBuilderPass()); | |
} | |
} |
This file contains 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
<testsuites> | |
<testsuite name="unit"> | |
<directory>tests</directory> | |
<exclude>tests/Functional</exclude> | |
</testsuite> | |
<testsuite name="functional"> | |
<directory>tests/Functional</directory> | |
</testsuite> | |
</testsuites> |
This file contains 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 | |
class DummyTest extends WebTestCase | |
{ | |
public function testDummy() | |
{ | |
$client = static::createClient(); | |
$client->request('GET', '/'); |
This file contains 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
ez_io: | |
binarydata_handlers: | |
awss3: | |
flysystem: | |
adapter: aws_s3_adapter | |
gcloud: | |
flysystem: | |
adapter: gcloud |
This file contains 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
oneup_flysystem: | |
adapters: | |
aws_s3_adapter: | |
awss3v3: | |
client: amazon.s3_client | |
bucket: "your-bucket" # Your bucket name | |
prefix: "%database_name%" | |
gcloud: | |
googlecloudstorage: | |
client: google.storage_client |
This file contains 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
amazon.s3_client: | |
class: Aws\S3\S3Client | |
arguments: | |
- | |
version: "latest" | |
region: "us-east-2" # The region string of your chosen region | |
credentials: | |
key: "·" # AWS key ID | |
secret: "···········" # AWS Secret key |
This file contains 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
ezpublish: | |
system: | |
default: | |
io: | |
metadata_handler: dfs | |
binarydata_handler: awss3 |
NewerOlder