예제 #1
0
파일: Api.php 프로젝트: jchaney01/gravatari
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct(UrlGenerator $urlGenerator = null)
 {
     $this->container = new Fluent();
     $this->urlGenerator = $urlGenerator ?: new UrlGenerator();
     $this->urlGenerator->setTemplate($this->urlTemplate);
 }