src/Extension/FluentDirectorExtension.php
protected function getRuleController($existingRule, $localeObj)
    {
        $controller = isset($existingRule['Controller']) ? $existingRule['Controller'] : $existingRule;
        // Decorate Director class to override controllers for a specific locale
        $this->owner->extend('updateLocalePageController', $controller, $localeObj);
        return $controller;
    }
protected function getRuleController($existingRule, $localeObj)
    {
        $controller = isset($existingRule['Controller']) ? $existingRule['Controller'] : $existingRule;
        // Decorate Director class to override controllers for a specific locale
        $this->owner->extend('updateLocalePageController', $controller, $localeObj);
        return $controller;
    }
protected function getRuleController ( $ existingRule , $ localeObj ) { $ controller = isset ( $ existingRule [ 'Controller' ] ) ? $ existingRule [ 'Controller' ] : $ existingRule ; // Decorate Director class to override controllers for a specific locale $ this -> owner -> extend ( 'updateLocalePageController' , $ controller , $ localeObj ) ; return $ controller ; }
Get controller that fluent should inject
@param array|string $existingRule
@param Locale $localeObj
@return string Class name of controller to use
Get controller that fluent should inject