示例#1
0
 /**
  * @return \Phalcon\Annotations\Collection
  */
 private function getAnnotationClass()
 {
     $reader = new \Phalcon\Annotations\Reader();
     $parsing = $reader->parse($this->refClass->getName());
     //Create the reflection
     $annotations = new \Phalcon\Annotations\Reflection($parsing);
     return $annotations->getClassAnnotations();
 }
示例#2
0
 /**
  *
  * @param \ReflectionClass $withClassReflection
  * @return string
  */
 public static function getTypeHash(\ReflectionClass $withClassReflection = null)
 {
     $ref = $withClassReflection ? $withClassReflection : static::getReflection();
     $props = $ref->getProperties();
     //Parse the annotations in a class
     $reader = new \Phalcon\Annotations\Reader();
     $parsing = $reader->parse($ref->getName());
     //Create the reflection
     $annotations = new \Phalcon\Annotations\Reflection($parsing);
     $text = $annotations->getClassAnnotations()->has('cached') ? "X" : "0";
     foreach ($props as $prop) {
         $text .= $prop->getName();
         //.($prop->hasAnnotation('lazy')?"M":"0");
     }
     //\Nette\Diagnostics\Debugger::barDump(array('hash:'=>$text), "HFOR: ".$ref->getName());
     return md5($text);
 }
示例#3
0
 public function testReflection()
 {
     //Empty reflection
     $reflection = new Phalcon\Annotations\Reflection();
     $classAnnotations = $reflection->getClassAnnotations();
     $this->assertEquals($classAnnotations, null);
     $methodsAnnotations = $reflection->getMethodsAnnotations();
     $this->assertEquals($methodsAnnotations, null);
     $propertiesAnnotations = $reflection->getPropertiesAnnotations();
     $this->assertEquals($propertiesAnnotations, null);
     //Parsing a real class
     $reader = new Phalcon\Annotations\Reader();
     $parsing = $reader->parse('TestClass');
     $reflection = new Phalcon\Annotations\Reflection($parsing);
     //Annotations in the class' dockblock
     $classAnnotations = $reflection->getClassAnnotations();
     $this->assertEquals(get_class($classAnnotations), 'Phalcon\\Annotations\\Collection');
     $number = 0;
     foreach ($classAnnotations as $annotation) {
         $this->assertEquals(get_class($annotation), 'Phalcon\\Annotations\\Annotation');
         $number++;
     }
     $this->assertEquals($number, 9);
     $this->assertEquals(count($classAnnotations), 9);
     //Annotations in Methods
     $methodsAnnotations = $reflection->getMethodsAnnotations();
     $this->assertEquals(gettype($methodsAnnotations), 'array');
     $this->assertEquals(get_class($methodsAnnotations['testMethod1']), 'Phalcon\\Annotations\\Collection');
     $total = 0;
     foreach ($methodsAnnotations as $method => $annotations) {
         $this->assertEquals(gettype($method), 'string');
         $number = 0;
         foreach ($annotations as $annotation) {
             $this->assertEquals(get_class($annotation), 'Phalcon\\Annotations\\Annotation');
             $number++;
             $total++;
         }
         $this->assertTrue($number > 0);
     }
     $this->assertEquals($total, 14);
     $annotations = $methodsAnnotations['testMethod1'];
     $this->assertTrue($annotations->has('Simple'));
     $this->assertFalse($annotations->has('NoSimple'));
     $annotation = $annotations->get('Simple');
     $this->assertEquals($annotation->getName(), 'Simple');
     $this->assertEquals($annotation->numberArguments(), 0);
     $this->assertEquals($annotation->getArguments(), null);
     $this->assertFalse($annotation->hasArgument('none'));
     $annotation = $annotations->get('NamedMultipleParams');
     $this->assertEquals($annotation->getName(), 'NamedMultipleParams');
     $this->assertEquals($annotation->numberArguments(), 2);
     $this->assertEquals($annotation->getArguments(), array('first' => 'First', 'second' => 'Second'));
     $this->assertTrue($annotation->hasArgument('first'));
     $this->assertEquals($annotation->getArgument('first'), 'First');
     $this->assertFalse($annotation->hasArgument('none'));
     //Annotations in properties
     $propertiesAnnotations = $reflection->getPropertiesAnnotations();
     $this->assertEquals(gettype($propertiesAnnotations), 'array');
     $this->assertEquals(get_class($propertiesAnnotations['testProp1']), 'Phalcon\\Annotations\\Collection');
     $total = 0;
     foreach ($propertiesAnnotations as $property => $annotations) {
         $this->assertEquals(gettype($method), 'string');
         $number = 0;
         foreach ($annotations as $annotation) {
             $this->assertEquals(get_class($annotation), 'Phalcon\\Annotations\\Annotation');
             $number++;
             $total++;
         }
         $this->assertTrue($number > 0);
     }
     $this->assertEquals($total, 10);
 }
<?php

//Parse the annotations in a class
$reader = new \Phalcon\Annotations\Reader();
$parsing = $reader->parse('MyComponent');
//Create the reflection
$reflection = new \Phalcon\Annotations\Reflection($parsing);
//Get the annotations in the class docblock
$classAnnotations = $reflection->getClassAnnotations();
<?php

return Phalcon\Annotations\Reflection::__set_state(array('_reflectionData' => array('class' => array(0 => array('type' => 300, 'name' => 'category', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 1 => array('type' => 300, 'name' => 'author', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 2 => array('type' => 300, 'name' => 'gmail', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 3 => array('type' => 300, 'name' => 'copyright', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 4 => array('type' => 300, 'name' => 'license', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 5 => array('type' => 300, 'name' => 'link', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 6 => array('type' => 300, 'name' => 'CommandName', 'arguments' => array(0 => array('expr' => array('type' => 308, 'items' => array(0 => array('expr' => array('type' => 303, 'value' => 'test')))))), 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10), 7 => array('type' => 300, 'name' => 'CommandDescription', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'test command controller.'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 10)), 'properties' => array('_name' => array(0 => array('type' => 300, 'name' => 'var', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 4294967292)), '_commands' => array(0 => array('type' => 300, 'name' => 'var', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 4294967293)), '_description' => array(0 => array('type' => 300, 'name' => 'var', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 4294967293)), '_actions' => array(0 => array('type' => 300, 'name' => 'var', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 4294967293)), '_parameters' => array(0 => array('type' => 300, 'name' => 'var', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 4294967293))), 'methods' => array('testAction' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/Command/Test.php', 'line' => 24)), '__construct' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 61)), 'dispatch' => array(0 => array('type' => 300, 'name' => 'throws', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 73), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 73)), 'getName' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 122)), 'getParameters' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 135)), 'getParameter' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 145), 1 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 145), 2 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 145), 3 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 145)), 'hasParameter' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 168), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 168)), 'getCommands' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 180)), 'getDescription' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 190)), 'getActions' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 200)), 'getHelp' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 210), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 210)), 'printParameters' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 247), 1 => array('type' => 300, 'name' => 'throws', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 247), 2 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 247)), '_parseParameters' => array(0 => array('type' => 300, 'name' => 'throws', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 288), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 288)), '_checkParameters' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 357), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 357)), '_setupCommandMetadata' => array(0 => array('type' => 300, 'name' => 'throws', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 405), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 405)), '_setupActionsMetadata' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 440)), '_getActionMetadata' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 481), 1 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 481), 2 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Console/AbstractCommand.php', 'line' => 481)), '__DIConstruct' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Behavior/DIBehavior.php', 'line' => 42)), 'setDI' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Behavior/DIBehavior.php', 'line' => 55), 1 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Behavior/DIBehavior.php', 'line' => 55)), 'getDI' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Behavior/DIBehavior.php', 'line' => 67)))), '_classAnnotations' => NULL, '_methodAnnotations' => NULL, '_propertyAnnotations' => NULL));
示例#6
0
<?php

return Phalcon\Annotations\Reflection::__set_state(array('_reflectionData' => array('class' => array(0 => array('type' => 300, 'name' => 'category', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 1 => array('type' => 300, 'name' => 'author', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 2 => array('type' => 300, 'name' => 'gmail', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 3 => array('type' => 300, 'name' => 'copyright', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 4 => array('type' => 300, 'name' => 'license', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 5 => array('type' => 300, 'name' => 'link', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 6 => array('type' => 300, 'name' => 'Source', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'fly_ads'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 7 => array('type' => 300, 'name' => 'SetConnectionService', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'dbfive'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8), 8 => array('type' => 300, 'name' => 'Behavior', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => '\\Engine\\Behavior\\Model\\Timestampable'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 8)), 'properties' => array('uid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'u_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'id' => array(0 => array('type' => 300, 'name' => 'Primary', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967293), 1 => array('type' => 300, 'name' => 'Identity', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967293), 2 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967293)), 'udid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'u_udid'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'rid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'r_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'cid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'c_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'title' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_title'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'image' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_image'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'slug' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_slug'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'description' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_description'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'price' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_price'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'instock' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_instock'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'cityid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_cityid'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'districtid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_districtid'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'contactname' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_contactname'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'contactemail' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_contactemail'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'contactphone' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_contactphone'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'contactaddress' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_contactaddress'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countview' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countview'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'status' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_status'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countfavorite' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countfavorite'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countupdate' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countupdate'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countclickcall' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countclickcall'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countclicksms' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countclicksms'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countclickchat' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countclickchat'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'countimpresstion' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_countimpresstion'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'lastclickevent' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_lastclickevent'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'priority' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_priority'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'isdeleted' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_isdeleted'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'ipaddress' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_ipaddress'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'lat' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_lat'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'long' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_long'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'zoom' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_zoom'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'seotitle' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_seotitle'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'seokeyword' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_seokeyword'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'seodescription' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_seodescription'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'datecreated' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_datecreated'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'datemodified' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_datemodified'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'dateexpired' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_dateexpired'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295)), 'lastpostdate' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'a_last_post_date'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/Ads.php', 'line' => 4294967295))), 'methods' => array('getTableName' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 28)), 'runPaginate' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 1 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 2 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 3 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42)))), '_classAnnotations' => NULL, '_methodAnnotations' => NULL, '_propertyAnnotations' => NULL));
示例#7
0
<?php

return Phalcon\Annotations\Reflection::__set_state(array('_reflectionData' => array('properties' => array('id' => array(0 => array('type' => 300, 'name' => 'Primary', 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -3), 1 => array('type' => 300, 'name' => 'Identity', 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -3), 2 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'id'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -3)), 'name' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '200'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'name'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'email' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '200'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'email'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'password' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '200'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'password'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'role' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '50'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'role'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'gender' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '200'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'gender'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'status' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '1'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'status'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'dateCreated' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '10'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'datecreated'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)), 'dateModified' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 301, 'value' => '10'), 'name' => 'length'), 2 => array('expr' => array('type' => 305), 'name' => 'nullable'), 3 => array('expr' => array('type' => 303, 'value' => 'datemodified'), 'name' => 'column')), 'file' => 'F:\\wamp\\www\\framework\\apps\\models\\User.php', 'line' => -1)))), '_classAnnotations' => NULL, '_methodAnnotations' => NULL, '_propertyAnnotations' => NULL));
<?php

return Phalcon\Annotations\Reflection::__set_state(array('_reflectionData' => array('class' => array(0 => array('type' => 300, 'name' => 'category', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 1 => array('type' => 300, 'name' => 'author', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 2 => array('type' => 300, 'name' => 'gmail', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 3 => array('type' => 300, 'name' => 'copyright', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 4 => array('type' => 300, 'name' => 'license', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 5 => array('type' => 300, 'name' => 'link', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 6 => array('type' => 300, 'name' => 'Source', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'ph_product_log'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8), 7 => array('type' => 300, 'name' => 'Behavior', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => '\\Engine\\Behavior\\Model\\Timestampable'))), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 8)), 'properties' => array('id' => array(0 => array('type' => 300, 'name' => 'Primary', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967293), 1 => array('type' => 300, 'name' => 'Identity', 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967293), 2 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967293)), 'sid' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 's_id'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'message' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_message'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'class' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_class'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'status' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_status'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'type' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_type'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'datecreated' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_datecreated'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295)), 'datemodified' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 306), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'pl_datemodified'), 'name' => 'column')), 'file' => '/Users/nguyenducduy/www/haraapp/app/modules/Import/Model/ProductLog.php', 'line' => 4294967295))), 'methods' => array('getTableName' => array(0 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 28)), 'runPaginate' => array(0 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 1 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 2 => array('type' => 300, 'name' => 'param', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42), 3 => array('type' => 300, 'name' => 'return', 'file' => '/Users/nguyenducduy/www/haraapp/app/engine/Db/AbstractModel.php', 'line' => 42)))), '_classAnnotations' => NULL, '_methodAnnotations' => NULL, '_propertyAnnotations' => NULL));
<?php

return Phalcon\Annotations\Reflection::__set_state(array('_reflectionData' => array('class' => array(0 => array('type' => 300, 'name' => 'Source', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'my_robots'))), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => 4), 1 => array('type' => 300, 'name' => 'HasMany', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'id')), 1 => array('expr' => array('type' => 303, 'value' => 'RobotsParts')), 2 => array('expr' => array('type' => 303, 'value' => 'robotsId'))), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => 4)), 'properties' => array('id' => array(0 => array('type' => 300, 'name' => 'Primary', 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -3), 1 => array('type' => 300, 'name' => 'Identity', 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -3), 2 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'my_id'), 'name' => 'column')), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -3)), 'name' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'my_name'), 'name' => 'column')), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -1)), 'type' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'string'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'my_type'), 'name' => 'column')), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -1)), 'year' => array(0 => array('type' => 300, 'name' => 'Column', 'arguments' => array(0 => array('expr' => array('type' => 303, 'value' => 'integer'), 'name' => 'type'), 1 => array('expr' => array('type' => 305), 'name' => 'nullable'), 2 => array('expr' => array('type' => 303, 'value' => 'my_year'), 'name' => 'column')), 'file' => 'C:\\xampp\\htdocs\\tutorial-models-init\\models\\Robots.php', 'line' => -1)))), '_classAnnotations' => NULL, '_methodAnnotations' => NULL, '_propertyAnnotations' => NULL));