public function create()
    {
        $slug = $this->getParameter('value');
        $allowSlashes = StringUtils::strToBool($this->getParameter('allowSlashes'));

        return SlugUtils::createSlug($slug,$allowSlashes);
    }
public function create()
    {
        $slug = $this->getParameter('value');
        $allowSlashes = StringUtils::strToBool($this->getParameter('allowSlashes'));

        return SlugUtils::createSlug($slug,$allowSlashes);
    }
public function create ( ) { $ slug = $ this -> getParameter ( 'value' ) ; $ allowSlashes = StringUtils :: strToBool ( $ this -> getParameter ( 'allowSlashes' ) ) ; return SlugUtils :: createSlug ( $ slug , $ allowSlashes ) ; }
Returns a slug for the specified parameter

Expected Parameters:
value string The string to turn into a slug

@return string
Returns a slug for the specified parameter