Example #1
0
 /**
  * @param kUrlTokenizer $newObject
  */
 public function setTokenizer($newObject)
 {
     if (is_null($newObject)) {
         parent::setTokenizer(null);
     } else {
         if ($newObject instanceof kUrlTokenizer) {
             $serializedObject = serialize($newObject);
             parent::setTokenizer($serializedObject);
         } else {
             KalturaLog::err('Given input is not an instance of kUrlTokenizer - ignoring');
         }
     }
 }