Example #1
0
 /**
  * @param string $alias
  *
  * @return bool
  */
 public function has($alias)
 {
     if (array_key_exists($alias, $this->interopDefinitions)) {
         return true;
     }
     return parent::has($alias);
 }
Example #2
0
 /**
  * Whether a offset exists
  *
  * @param mixed $offset An offset to check for.
  * @return boolean true on success or false on failure.
  *                      The return value will be casted to boolean if non-boolean was returned.
  */
 public function offsetExists($offset)
 {
     return $this->container->has($offset);
 }