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 | |
// bootstrap.php | |
use Doctrine\ORM\Tools\Setup; | |
use Doctrine\ORM\EntityManager; | |
require_once "vendor/autoload.php"; | |
// Create a simple "default" Doctrine ORM configuration for Annotations | |
$isDevMode = true; | |
echo __DIR__."/module/UfAdminLibraryModule/src/"; |
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
public function setUp() | |
{ | |
// The module configuration should still be applicable for tests. | |
// You can override configuration here with test case specific values, | |
// such as sample view templates, path stacks, module_listener_options, | |
// etc. | |
$configOverrides = [ |
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
$qb ->from('Event e') | |
->where($qb->expr()->isMemberOf(':personId', 'e.peopleAttending')) | |
->setParameter('personId', 3) | |
; | |
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
# dpkg-query -L brhl2140lpr | |
/. | |
/usr | |
/usr/share | |
/usr/share/doc | |
/usr/local | |
/usr/local/Brother | |
/usr/local/Brother/inf | |
/usr/local/Brother/inf/brHL2140rc | |
/usr/local/Brother/inf/setupPrintcap |
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
if ($mustBeCurrent) { | |
$title = 'People currently proficient in'; | |
} else { | |
$title = 'People who have ever had training in'; | |
} |
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
public function __set($key, $value) | |
{ | |
$setter = 'set' . str_replace('_', '', $key); | |
if (is_callable([$this, $setter])) { | |
$this->{$setter}($value); | |
return; | |
} | |
. |
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
<?xml version="1.0" encoding="utf-8"?> | |
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> | |
<entity repository-class="Model\Repository\CompetencyRepository" name="Model\Entity\Competency" table="competencies"> | |
<id name="id" type="integer" column="id"> | |
<generator strategy="IDENTITY"/> | |
</id> | |
<field name="name" type="string" column="name" precision="0" scale="0" nullable="false"/> | |
<field name="description" type="string" column="description" precision="0" scale="0" nullable="false"/> | |
<field name="mandatory" type="boolean" column="mandatory" precision="0" scale="0" nullable="false"/> | |
<field name="refreshFrequencyInMonths" type="integer" column="refreshFrequencyInMonths" precision="0" scale="0" nullable="false"/> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> | |
<entity repository-class="Model\Repository\CompetencySetRepository" name="Model\Entity\CompetencySet" table="competency_sets"> | |
<id name="id" type="integer" column="id"> | |
<generator strategy="IDENTITY"/> | |
</id> | |
<field name="name" type="string" column="name" precision="0" scale="0" nullable="false"/> | |
<field name="description" type="string" column="description" precision="0" scale="0" nullable="false"/> | |
<many-to-many field="competencies" target-entity="Model\Entity\Competency" fetch="LAZY"> | |
<join-table name="competencyset_competency"> |
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
Reading ./composer.json | |
Loading config file /home/gbell2/.composer/auth.json | |
Loading config file ./composer.json | |
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid | |
Executing command (/data/www/aquasafe/app): git branch --no-color --no-abbrev -v | |
Reading /home/gbell2/.composer/composer.json | |
Loading config file /home/gbell2/.composer/auth.json | |
Loading config file /home/gbell2/.composer/composer.json | |
Loading config file /home/gbell2/.composer/auth.json | |
Reading /home/gbell2/.composer/auth.json |
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
{ | |
"name": "gbell2/tmp", | |
"authors": [ | |
{ | |
"name": "Greg Bell", | |
"email": "greg@bitwombat.com.au" | |
} | |
], | |
"repositories": [ | |
{ |
OlderNewer