src/MocaBonita.php
public function getMbShortcode($shortcodeName)
    {
        if (!$this->mbShortCodes->has($shortcodeName)) {
            throw new MbException("The shortcode {$shortcodeName} has not been added to the MocaBonita shortcode list!");
        }

        return $this->mbShortCodes->get($shortcodeName);
    }
public function getMbShortcode($shortcodeName)
    {
        if (!$this->mbShortCodes->has($shortcodeName)) {
            throw new MbException("The shortcode {$shortcodeName} has not been added to the MocaBonita shortcode list!");
        }

        return $this->mbShortCodes->get($shortcodeName);
    }
public function getMbShortcode ( $ shortcodeName ) { if ( ! $ this -> mbShortCodes -> has ( $ shortcodeName ) ) { throw new MbException ( "The shortcode {$shortcodeName} has not been added to the MocaBonita shortcode list!" ) ; } return $ this -> mbShortCodes -> get ( $ shortcodeName ) ; }
Get MbShortcode of name

@param string $shortcodeName Name of shortcode

@throws MbException

@return MbShortCode
Get MbShortcode of name