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 | |
/** | |
* When defining parameters, in what case should we: | |
* - add the question mark (?) before the type? | |
* - add the default value | |
* | |
* In this example `MyClass` can be replaced by any class or any scalar type (int, string, array, iterable, object...) | |
*/ | |
class Foo |
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
Some Jenkinsfile examples |
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 | |
declare(strict_types=1); | |
namespace App\Bundle\DependencyInjection; | |
use App\Fixtures\StringReferenceProcessor; | |
use Sonata\ArticleBundle\Model\FragmentInterface; | |
use Sonata\BlockBundle\Model\BlockInterface; | |
use Symfony\Component\Config\FileLocator; |