Slick.php
/**
     * Registers a catch-all listener when to be run when no other registered listener applies.
     *
     * @param callable $listener
     * @return $this
     */
Registers a catch-all listener when to be run when no other registered listener applies.
@param callable $listener
@return $this
Registers a catch - all listener when to be run when no other registered listener applies . @param callable $listener @return $this
public function on404(callable $listener): self
    {
        $this->catchAllListener = $listener;
        return $this;
    }
public function on404 ( callable $ listener ) : self { $ this -> catchAllListener = $ listener ; return $ this ; }
Registers a catch-all listener when to be run when no other registered listener applies.
Registers a catch - all listener when to be run when no other registered listener applies .