Example #1
0
 /**
  * 
  * @param \Puzzlout\Framework\Core\Application $app
  * @param string $url
  * @throws \Exception
  */
 public function __construct(Application $app)
 {
     if (is_null($app)) {
         throw new \Exception('$app cannot be null!', 0, null);
     }
     parent::__construct($app);
     $request = new Request($app);
     $this->url = $request->RequestUriExist() ? $request->requestURI() : "";
 }