public static function addProperty($book, $property, $value) { if (!$book->isEPubVersion2()) { $book->addCustomMetaProperty($property, $value); } }