public function getField( array $args = [] )
	{
		if( empty( $args )) {
			$args = $this->args;
		}

		$className = sprintf( 'GeminiLabs\Castor\Forms\Fields\%s', ucfirst( $args['type'] ));

		if( !class_exists( $className )) {
			throw new ReflectionException( "Class does not exist: {$className}" );
		}

		return (new $className( $args ));
	}
public function getField( array $args = [] )
	{
		if( empty( $args )) {
			$args = $this->args;
		}

		$className = sprintf( 'GeminiLabs\Castor\Forms\Fields\%s', ucfirst( $args['type'] ));

		if( !class_exists( $className )) {
			throw new ReflectionException( "Class does not exist: {$className}" );
		}

		return (new $className( $args ));
	}
public function getField ( array $ args = [ ] ) { if ( empty ( $ args ) ) { $ args = $ this -> args ; } $ className = sprintf ( 'GeminiLabs\Castor\Forms\Fields\%s' , ucfirst ( $ args [ 'type' ] ) ) ; if ( ! class_exists ( $ className ) ) { throw new ReflectionException ( "Class does not exist: {$className}" ) ; } return ( new $ className ( $ args ) ) ; }
Get a specific Field

@return mixed GeminiLabs\SiteReviews\Html\Fields\*
Get a specific Field