private function getCategoriesPermissions()
    {
        return [
            [
                'name'        => 'Categories - List all categories',
                'description' => 'Allow to list all categories.',
                'slug'        => CategoriesPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Categories - View a category',
                'description' => 'Allow to display a category.',
                'slug'        => CategoriesPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Categories - Create a category',
                'description' => 'Allow to create a category.',
                'slug'        => CategoriesPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Categories - Update a category',
                'description' => 'Allow to update a category.',
                'slug'        => CategoriesPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Categories - Delete a category',
                'description' => 'Allow to delete a category.',
                'slug'        => CategoriesPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getCategoriesPermissions()
    {
        return [
            [
                'name'        => 'Categories - List all categories',
                'description' => 'Allow to list all categories.',
                'slug'        => CategoriesPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Categories - View a category',
                'description' => 'Allow to display a category.',
                'slug'        => CategoriesPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Categories - Create a category',
                'description' => 'Allow to create a category.',
                'slug'        => CategoriesPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Categories - Update a category',
                'description' => 'Allow to update a category.',
                'slug'        => CategoriesPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Categories - Delete a category',
                'description' => 'Allow to delete a category.',
                'slug'        => CategoriesPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getCategoriesPermissions ( ) { return [ [ 'name' => 'Categories - List all categories' , 'description' => 'Allow to list all categories.' , 'slug' => CategoriesPolicy :: PERMISSION_LIST , ] , [ 'name' => 'Categories - View a category' , 'description' => 'Allow to display a category.' , 'slug' => CategoriesPolicy :: PERMISSION_SHOW , ] , [ 'name' => 'Categories - Create a category' , 'description' => 'Allow to create a category.' , 'slug' => CategoriesPolicy :: PERMISSION_CREATE , ] , [ 'name' => 'Categories - Update a category' , 'description' => 'Allow to update a category.' , 'slug' => CategoriesPolicy :: PERMISSION_UPDATE , ] , [ 'name' => 'Categories - Delete a category' , 'description' => 'Allow to delete a category.' , 'slug' => CategoriesPolicy :: PERMISSION_DELETE , ] , ] ; }
Get the Categories permissions.

@return array
Get the Categories permissions .