Skip to content

Commit

Permalink
Added generator stubs #315
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Aug 15, 2018
1 parent 50b50b9 commit ad1f3da
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Modules/Generators/CollectionItemGenerator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Tapestry\Modules\Generators;

use Tapestry\Entities\Project;
use Tapestry\Modules\Source\SourceInterface;

class CollectionItemGenerator extends AbstractGenerator implements GeneratorInterface
{
/**
* Run the generation and return an array of generated
* files (oddly implementing SourceInterface, naming
* things is hard!)
*
* @param Project $project
* @return array|SourceInterface[]
*/
public function generate(Project $project): array
{
// TODO: Implement generate() method.
}
}
22 changes: 22 additions & 0 deletions src/Modules/Generators/PaginationGenerator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Tapestry\Modules\Generators;

use Tapestry\Entities\Project;
use Tapestry\Modules\Source\SourceInterface;

class PaginationGenerator extends AbstractGenerator implements GeneratorInterface
{
/**
* Run the generation and return an array of generated
* files (oddly implementing SourceInterface, naming
* things is hard!)
*
* @param Project $project
* @return array|SourceInterface[]
*/
public function generate(Project $project): array
{
// TODO: Implement generate() method.
}
}
22 changes: 22 additions & 0 deletions src/Modules/Generators/TaxonomyArchiveGenerator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Tapestry\Modules\Generators;

use Tapestry\Entities\Project;
use Tapestry\Modules\Source\SourceInterface;

class TaxonomyArchiveGenerator extends AbstractGenerator implements GeneratorInterface
{
/**
* Run the generation and return an array of generated
* files (oddly implementing SourceInterface, naming
* things is hard!)
*
* @param Project $project
* @return array|SourceInterface[]
*/
public function generate(Project $project): array
{
// TODO: Implement generate() method.
}
}
22 changes: 22 additions & 0 deletions src/Modules/Generators/TaxonomyIndexGenerator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Tapestry\Modules\Generators;

use Tapestry\Entities\Project;
use Tapestry\Modules\Source\SourceInterface;

class TaxonomyIndexGenerator extends AbstractGenerator implements GeneratorInterface
{
/**
* Run the generation and return an array of generated
* files (oddly implementing SourceInterface, naming
* things is hard!)
*
* @param Project $project
* @return array|SourceInterface[]
*/
public function generate(Project $project): array
{
// TODO: Implement generate() method.
}
}

0 comments on commit ad1f3da

Please sign in to comment.