create a faker for adding some fixtures

This commit is contained in:
Manuel Raynaud
2013-04-30 14:12:52 +02:00
parent 1aaab031fc
commit 5b4daf0659
113 changed files with 3890 additions and 1548 deletions

View File

@@ -21,7 +21,7 @@ class ConfigQuery extends BaseConfigQuery
public static function read($search, $default = null)
{
$value = self::create()->findOneByName($search);
return $value ? $value->getValue() : $default;
}
}