Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
Constants defined for built in types
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jul 14, 2017
1 parent 2dcb093 commit 2d8aa49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

class Resolver
{
const ARRAY = 'array';
const CALLABLE = 'callable';
const BOOLEAN = 'boolean';
const FLOAT = 'float';
const INTEGER = 'int';
const STRING = 'string';
const ITERABLE = 'iterable';

/**
* @param string $className
* @param string $methodName
Expand Down

0 comments on commit 2d8aa49

Please sign in to comment.