for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Incoming
*
* @author Trevor Suarez (Rican7)
* @copyright (c) Trevor Suarez
* @link https://github.com/Rican7/incoming
* @license MIT
*/
declare(strict_types=1);
namespace Incoming\Structure;
* Defines an interface for building structural data types from a loose input
interface StructureFactory
{
* Build a structure from a loose-type
* @param mixed $data The input data
* @return Structure The resulting data-structure
public function build($data): Structure;
}