delete() public method

public delete ( $restriction )
 private function deletePostMeta()
 {
     $this->storage->delete(EntityUtils::preparePostMeta(self::$vpId, self::$postVpId));
     $this->postStorage->delete(EntityUtils::preparePost(self::$postVpId));
     $this->postStorage->delete(EntityUtils::preparePost(self::$post2VpId));
     $this->userStorage->delete(EntityUtils::prepareUser(self::$authorVpId));
     return [['vp_id' => self::$authorVpId, 'parent' => self::$authorVpId], ['vp_id' => self::$postVpId, 'parent' => self::$postVpId], ['vp_id' => self::$post2VpId, 'parent' => self::$post2VpId], ['vp_id' => self::$vpId, 'parent' => self::$postVpId]];
 }
 private function deleteTermMeta()
 {
     $this->storage->delete(EntityUtils::prepareTermMeta(self::$vpId, self::$termVpId));
     $this->termStorage->delete(EntityUtils::prepareTerm(self::$termVpId));
     return [['vp_id' => self::$vpId, 'parent' => self::$termVpId], ['vp_id' => self::$termVpId, 'parent' => self::$termVpId]];
 }
 private function deleteUserMeta()
 {
     $this->storage->delete(EntityUtils::prepareUserMeta(self::$vpId, self::$userVpId));
     $this->userStorage->delete(EntityUtils::prepareUser(self::$userVpId));
     return [['vp_id' => self::$vpId, 'parent' => self::$userVpId], ['vp_id' => self::$userVpId, 'parent' => self::$userVpId]];
 }