protected function _setBehavior($action, Callable $function)
    {
        if (array_key_exists($action, $this->behaviors)) {

            $this->behaviors[$action] = $function;
            return true;
        }

        return false;
    }