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
<component name="InspectionProjectProfileManager"> | |
<profile version="1.0"> | |
<option name="myName" value="Project Default" /> | |
<inspection_tool class="PhpClassNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true"> | |
<option name="m_regex" value="^_?[A-Z][A-Za-z\d]*" /> | |
<option name="m_minLength" value="3" /> | |
<option name="m_maxLength" value="50" /> | |
</inspection_tool> | |
<inspection_tool class="PhpCompoundNamespaceDepthInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" /> | |
<inspection_tool class="PhpConstantNamingConventionInspection" enabled="true" level="WARNING" enabled_by_default="true"> |
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 CoolDto | |
{ | |
public $master = 'admin'; | |
public $child; | |
public function __construct() | |
{ | |
$this->child = $this->createChildDto(); | |
} |
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 | |
namespace Core\Utils; | |
use Zend\Form\Annotation\AnnotationBuilder; | |
use DoctrineModule\Stdlib\Hydrator\DoctrineObject as DoctrineHydrator; | |
use Doctrine\ORM\EntityManager; | |
use Zend\Form\Form; | |
/** | |
* Inspired by |