public function setDefinition(EntityStructure $definition)
    {
        $tmp = new \ReflectionProperty(entity::class, 'definition');
        $tmp->setAccessible(true);
        $tmp->setValue($this->entity, $definition);
    }
public function setDefinition(EntityStructure $definition)
    {
        $tmp = new \ReflectionProperty(entity::class, 'definition');
        $tmp->setAccessible(true);
        $tmp->setValue($this->entity, $definition);
    }
public function setDefinition ( EntityStructure $ definition ) { $ tmp = new \ ReflectionProperty ( entity :: class , 'definition' ) ; $ tmp -> setAccessible ( true ) ; $ tmp -> setValue ( $ this -> entity , $ definition ) ; }
Set the data definition

@param   EntityStructure $definition The data definition

@return  void
Set the data definition