コード例 #1
0
ファイル: Normality.php プロジェクト: squareproton/bond
 /**
  * Standard constructor
  */
 public function __construct(Options $options, EntityManager $entityManager = null, array $callbacks = array())
 {
     $options->checkPaths();
     $this->options = $options;
     $this->entityManager = $entityManager;
     $this->callbacks = new Flock('is_callable');
     $this->callbacks['log'] = function () {
     };
     $this->callbacks->merge($callbacks);
     $this->processed = new Container();
     $this->matches = new Flock('Bond\\Normality\\MatchRelationInterface');
     $this->profiler = new Profiler("Normality Entity generation");
     $this->profiler->log("Init");
 }