src/Model/Route/Action.php
public static function createMultiple(array $data)
    {
        $items = [];

        foreach ($data as $action) {
            $items[] = new self($action);
        }

        return $items;
    }
public static function createMultiple(array $data)
    {
        $items = [];

        foreach ($data as $action) {
            $items[] = new self($action);
        }

        return $items;
    }
public static function createMultiple ( array $ data ) { $ items = [ ] ; foreach ( $ data as $ action ) { $ items [ ] = new self ( $ action ) ; } return $ items ; }
Action Named Constructor to build several Action DTOs provided by an Array.

@return Action[]
Action Named Constructor to build several Action DTOs provided by an Array .