Example #1
0
 /**
  * Projects constructor.
  *
  * @param \Codex\Codex                $parent
  * @param \Laradic\Support\Filesystem $files
  */
 public function __construct(Project $parent)
 {
     parent::__construct();
     $this->setCodex($parent->getCodex());
     $this->setContainer($parent->getContainer());
     $this->setFiles($parent->getFiles());
     $this->project = $parent;
     $this->hookPoint('refs:construct', [$this]);
     $this->resolveRefs();
     $this->hookPoint('refs:constructed', [$this]);
 }