<?php namespace TypiCMS;

trait NestableTrait
{
    /**
     * Return a custom nested collection
     *
     * @param  array            $models
     * @return NestedCollection
     */
    public function newCollection(array $models = array())
    {
        return new NestableCollection($models);
    }
}

Add trait to add the custom nested collection class
Add trait to add the custom nested collection class
