src/Compilers/ShortcodeCompiler.php
protected function compileShortcode($matches)
    {
        // Set matches
        $this->setMatches($matches);
        // pars the attributes
        $attributes = $this->parseAttributes($this->matches[3]);

        // return shortcode instance
        return new Shortcode(
            $this->getName(),
            $attributes,
            $this->getContent()
        );
    }
protected function compileShortcode($matches)
    {
        // Set matches
        $this->setMatches($matches);
        // pars the attributes
        $attributes = $this->parseAttributes($this->matches[3]);

        // return shortcode instance
        return new Shortcode(
            $this->getName(),
            $attributes,
            $this->getContent()
        );
    }
protected function compileShortcode ( $ matches ) { // Set matches $ this -> setMatches ( $ matches ) ; // pars the attributes $ attributes = $ this -> parseAttributes ( $ this -> matches [ 3 ] ) ; // return shortcode instance return new Shortcode ( $ this -> getName ( ) , $ attributes , $ this -> getContent ( ) ) ; }
Get Compiled Attributes.

@param $matches

@return \Webwizo\Shortcodes\Shortcode
Get Compiled Attributes .