src/Generator/Analyzer/Steps/AnalyzeSluggableInteractive.php
protected function findSluggableCandidateModels()
    {
        $candidates = [];

        foreach ($this->context->output['models'] as $model) {

            if ($this->isExcludedSluggable($model['module'])) continue;

            if ($result = $this->applyOverrideForSluggable($model)) {

                $candidates[ $model['module'] ] = $result;
                continue;
            }

            if ($result = $this->analyzeModelForSluggable($model)) {

                $candidates[ $model['module'] ] = $result;
            }
        }

        return $candidates;
    }
protected function findSluggableCandidateModels()
    {
        $candidates = [];

        foreach ($this->context->output['models'] as $model) {

            if ($this->isExcludedSluggable($model['module'])) continue;

            if ($result = $this->applyOverrideForSluggable($model)) {

                $candidates[ $model['module'] ] = $result;
                continue;
            }

            if ($result = $this->analyzeModelForSluggable($model)) {

                $candidates[ $model['module'] ] = $result;
            }
        }

        return $candidates;
    }
protected function findSluggableCandidateModels ( ) { $ candidates = [ ] ; foreach ( $ this -> context -> output [ 'models' ] as $ model ) { if ( $ this -> isExcludedSluggable ( $ model [ 'module' ] ) ) continue ; if ( $ result = $ this -> applyOverrideForSluggable ( $ model ) ) { $ candidates [ $ model [ 'module' ] ] = $ result ; continue ; } if ( $ result = $ this -> analyzeModelForSluggable ( $ model ) ) { $ candidates [ $ model [ 'module' ] ] = $ result ; } } return $ candidates ; }
Finds all the models that the user might want to make sluggable

@return array
Finds all the models that the user might want to make sluggable