private function checkTaxonomy()
    {
        foreach ($this->data['taxonomy'] as $key => $taxonomy) {
            if (empty($taxonomy['options']) || !is_array($taxonomy['options'])) {
                continue;
            }

            foreach ($taxonomy['options'] as $optionKey => $optionValue) {
                if (strpos($optionKey, '/') === false) {
                    continue;
                }

                $this->passed = false;
                $error = Trans::__(
                    'general.phrase.invalid-taxonomy-slug',
                    ['%taxonomy%' => $key, '%option%' => $optionValue]
                );
                $this->app['logger.flash']->error($error);
            }
        }

        return $this->passed;
    }
private function checkTaxonomy()
    {
        foreach ($this->data['taxonomy'] as $key => $taxonomy) {
            if (empty($taxonomy['options']) || !is_array($taxonomy['options'])) {
                continue;
            }

            foreach ($taxonomy['options'] as $optionKey => $optionValue) {
                if (strpos($optionKey, '/') === false) {
                    continue;
                }

                $this->passed = false;
                $error = Trans::__(
                    'general.phrase.invalid-taxonomy-slug',
                    ['%taxonomy%' => $key, '%option%' => $optionValue]
                );
                $this->app['logger.flash']->error($error);
            }
        }

        return $this->passed;
    }
private function checkTaxonomy ( ) { foreach ( $ this -> data [ 'taxonomy' ] as $ key => $ taxonomy ) { if ( empty ( $ taxonomy [ 'options' ] ) || ! is_array ( $ taxonomy [ 'options' ] ) ) { continue ; } foreach ( $ taxonomy [ 'options' ] as $ optionKey => $ optionValue ) { if ( strpos ( $ optionKey , '/' ) === false ) { continue ; } $ this -> passed = false ; $ error = Trans :: __ ( 'general.phrase.invalid-taxonomy-slug' , [ '%taxonomy%' => $ key , '%option%' => $ optionValue ] ) ; $ this -> app [ 'logger.flash' ] -> error ( $ error ) ; } } return $ this -> passed ; }
Sanity check for slashes in in taxonomy slugs.

@return bool
Sanity check for slashes in in taxonomy slugs .