Boolean is not mapped in bootstrap.php #17

Closed
mgrandi opened this Issue May 31, 2011 · 2 comments

Comments

Projects
None yet
1 participant
Contributor

mgrandi commented May 31, 2011

In bootstrap.php, it maps all of the classes inside "property" except the Boolean class.

private static $classes = array(
'morph\Collection' => 'phar://Morph/Collection.php',
'morph\Enum' => 'phar://Morph/Enum.php',
'morph\Utils' => 'phar://Morph/Utils.php',
'morph\Iterator' => 'phar://Morph/Iterator.php',
'morph\compare\NumericProperty' => 'phar://Morph/compare/NumericProperty.php',
'morph\compare\Property' => 'phar://Morph/compare/Property.php',
'morph\PropertySet' => 'phar://Morph/PropertySet.php',
'morph\Query' => 'phar://Morph/Query.php',
'morph\IQuery' => 'phar://Morph/IQuery.php',
'morph\Object' => 'phar://Morph/Object.php',
'morph\ICompare' => 'phar://Morph/ICompare.php',
'morph\Storage' => 'phar://Morph/Storage.php',
'morph\property\HasMany' => 'phar://Morph/property/HasMany.php',
'morph\property\Date' => 'phar://Morph/property/Date.php',
'morph\property\ComposeMany' => 'phar://Morph/property/ComposeMany.php',
'morph\property\HasOne' => 'phar://Morph/property/HasOne.php',
'morph\property\Enum' => 'phar://Morph/property/Enum.php',
'morph\property\Integer' => 'phar://Morph/property/Integer.php',
'morph\property\File' => 'phar://Morph/property/File.php',
'morph\property\Float' => 'phar://Morph/property/Float.php',
'morph\property\ComposeOne' => 'phar://Morph/property/ComposeOne.php',
'morph\property\String' => 'phar://Morph/property/String.php',
'morph\property\Generic' => 'phar://Morph/property/Generic.php',
'morph\query\Property' => 'phar://Morph/query/Property.php',
'morph\format\Collection' => 'phar://Morph/format/Collection.php',
'morph\exception\ObjectNotFound' => 'phar://Morph/exception/ObjectNotFound.php',
);

Contributor

mgrandi commented May 31, 2011

Also not included:

BinaryData
Integer32
Integer64
Regex

mgrandi closed this May 31, 2011

mgrandi reopened this May 31, 2011

Contributor

mgrandi commented Jun 1, 2011

i added code to fix this in issue #19 (a pull request)

mgrandi closed this Jun 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment