PHP Class Laralib\L5scaffold\Validators\SyntaxBuilder

Author: Ryan Gurnick ([email protected])
Show file Open project: laralib/l5scaffold

Public Methods

Method Description
create ( array $schema ) : string Create the PHP syntax for the given schema.

Private Methods

Method Description
createSchemaForValidation ( $schema )

Method Details

create() public method

Create the PHP syntax for the given schema.
public create ( array $schema ) : string
$schema array
return string