public function defaults() {
        $this->addFilter(new \Decoda\Filter\DefaultFilter());
        $this->addFilter(new \Decoda\Filter\EmailFilter());
        $this->addFilter(new \Decoda\Filter\ImageFilter());
        $this->addFilter(new \Decoda\Filter\UrlFilter());
        $this->addFilter(new \Decoda\Filter\TextFilter());
        $this->addFilter(new \Decoda\Filter\BlockFilter());
        $this->addFilter(new \Decoda\Filter\VideoFilter());
        $this->addFilter(new \Decoda\Filter\CodeFilter());
        $this->addFilter(new \Decoda\Filter\QuoteFilter());
        $this->addFilter(new \Decoda\Filter\ListFilter());
        $this->addFilter(new \Decoda\Filter\TableFilter());

        $this->addHook(new \Decoda\Hook\CensorHook());
        $this->addHook(new \Decoda\Hook\ClickableHook());

        return $this;
    }
public function defaults() {
        $this->addFilter(new \Decoda\Filter\DefaultFilter());
        $this->addFilter(new \Decoda\Filter\EmailFilter());
        $this->addFilter(new \Decoda\Filter\ImageFilter());
        $this->addFilter(new \Decoda\Filter\UrlFilter());
        $this->addFilter(new \Decoda\Filter\TextFilter());
        $this->addFilter(new \Decoda\Filter\BlockFilter());
        $this->addFilter(new \Decoda\Filter\VideoFilter());
        $this->addFilter(new \Decoda\Filter\CodeFilter());
        $this->addFilter(new \Decoda\Filter\QuoteFilter());
        $this->addFilter(new \Decoda\Filter\ListFilter());
        $this->addFilter(new \Decoda\Filter\TableFilter());

        $this->addHook(new \Decoda\Hook\CensorHook());
        $this->addHook(new \Decoda\Hook\ClickableHook());

        return $this;
    }
public function defaults ( ) { $ this -> addFilter ( new \ Decoda \ Filter \ DefaultFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ EmailFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ ImageFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ UrlFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ TextFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ BlockFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ VideoFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ CodeFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ QuoteFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ ListFilter ( ) ) ; $ this -> addFilter ( new \ Decoda \ Filter \ TableFilter ( ) ) ; $ this -> addHook ( new \ Decoda \ Hook \ CensorHook ( ) ) ; $ this -> addHook ( new \ Decoda \ Hook \ ClickableHook ( ) ) ; return $ this ; }
Apply default filters and hooks if none are set.

@return \Decoda\Decoda
Apply default filters and hooks if none are set .