src/Charcoal/Loader/CollectionLoaderFactoryTrait.php
public function createCollectionLoaderWith(array $args = null, callable $callback = null)
    {
        $factory = $this->collectionLoaderFactory();

        return $factory->create($factory->defaultClass(), $args, $callback);
    }
public function createCollectionLoaderWith(array $args = null, callable $callback = null)
    {
        $factory = $this->collectionLoaderFactory();

        return $factory->create($factory->defaultClass(), $args, $callback);
    }
public function createCollectionLoaderWith ( array $ args = null , callable $ callback = null ) { $ factory = $ this -> collectionLoaderFactory ( ) ; return $ factory -> create ( $ factory -> defaultClass ( ) , $ args , $ callback ) ; }
Create a model collection loader with optional constructor arguments and a post-creation callback.

@param  array|null    $args     Optional. Constructor arguments.
@param  callable|null $callback Optional. Called at creation.
@return CollectionLoader
Create a model collection loader with optional constructor arguments and a post - creation callback .