예제 #1
0
파일: Route.php 프로젝트: Top-Tech/Top-tech
 /**
  * Check if it is the redirect route.
  *
  * @return bool
  */
 public function isRedirect()
 {
     return $this->settings->has('redirect') || $this->settings->has('direct');
 }
예제 #2
0
 /**
  * Determine key exists in the collection.
  *
  * @param string $key the data key
  * @return bool
  */
 public function has($key)
 {
     return parent::has($this->normalizeKey($key));
 }