function testDoubleS() { $this->assertEquals('access', Reflection::cleanProperty('access')); }
private function getSearchableProperty($property) { $property = Reflection::cleanProperty($property); foreach ($this->meta->getIndexedProperties() as $p) { if (Reflection::cleanProperty($p->getName()) == $property) { return $property; } } throw new Exception("Property {$property} is not indexed."); }