framework/RedKiteCms/Action/FactoryAction.php
public function create($entity, $action)
    {
        $type = ucfirst($entity);
        $actionName = ucfirst($action);
        $class = sprintf('RedKiteCms\Action\%s\%s%sAction', $type, $actionName, $type);

        if (!class_exists($class)) {
            return null;
        }

        $reflectionClass = new \ReflectionClass($class);

        return $reflectionClass->newInstance($this->app);
    }
public function create($entity, $action)
    {
        $type = ucfirst($entity);
        $actionName = ucfirst($action);
        $class = sprintf('RedKiteCms\Action\%s\%s%sAction', $type, $actionName, $type);

        if (!class_exists($class)) {
            return null;
        }

        $reflectionClass = new \ReflectionClass($class);

        return $reflectionClass->newInstance($this->app);
    }
Creates an action object

@param $entity
@param $action
@return null|\RedKiteCms\Action\ActionInterface