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
    
  
  
    
  | db.demo.group({ | |
| "key": { | |
| "person": true | |
| }, | |
| "initial": { | |
| "sumscore": 0, | |
| "sumforaverageaveragescore": 0, | |
| "countforaverageaveragescore": 0, | |
| "countstar": 0 | |
| }, | 
  
    
      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 | |
| /** | |
| * 01.php | |
| * | |
| * Save info | |
| */ | |
| http://redspher.com/more_info | |
| class User { | 
  
    
      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 | |
| use Pricer\Services; | |
| if (!function_exists('openlink')) { | |
| function openlink() | |
| { | |
| global $link; | |
| if (!$link instanceof \mysqli) { | |
| $link = Services::getSql()->connect(_DB_SERVER, _DB_UNAME, _DB_UPASS, _DB_DBNAME, _DB_PORT_MASTER); | 
  
    
      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 | |
| /** | |
| * GlobalableTrait.php | |
| * | |
| * @date 09/01/2017 | |
| * @file GlobalableTrait.php | |
| */ | |
| /** | |
| * GlobalableTrait | |
| */ | 
  
    
      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 | |
| /** | |
| * SingletonTrait.php | |
| * | |
| * @date 28/02/2014 | |
| * @file SingletonTrait.php | |
| */ | |
| trait SingletonTrait | |
| { | 
  
    
      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 | |
| class MyClass { | |
| use TheForce; | |
| } | 
  
    
      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 | |
| $reflectionClass = new \ReflectionClass('My\Class'); | |
| $this->assertContains('@ORM\HasLifecycleCallbacks',$reflectionClass->getDocComment()); | |
| $reflectionMethod = $reflectionClass->getMethod('setVersion'); | |
| $this->assertContains('@ORM\PrePersist',$reflectionMethod->getDocComment()); | 
  
    
      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 | |
| /** | |
| * JeanClaudeVanDammeAwareInterface | |
| */ | |
| interface JeanClaudeVanDammeAwareInterface extends InterviewAbstract | |
| { | |
| public function kickOnTheFace(); | |
| public function doTheSplits(); | |
| } | 
  
    
      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 | |
| trait PrepareEntityManagerTrait | |
| { | |
| /** | |
| * @var \Doctrine\Common\Persistence\Mapping\ClassMetadata | |
| */ | |
| protected $metadata; | |
| /** | |
| * @var \Doctrine\Common\Persistence\ObjectManager | 
  
    
      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 | |
| class MyTraitTest extends \PHPUnit_Framework_TestCase | |
| { | |
| protected $instance; | |
| public function setUp() | |
| { | |
| $this->instance = $this->getObjectForTrait('MyTrait'); | |
| } | |
NewerOlder