src/CronHelper/Model/JobMapper.php
public function deleteById($id)
	{
		$where = new Where();

		if (is_array($id)) {
			if (count($id) == 0) {
				return null;
			}
			$where->in('id', $id);
		} else {
			$where->equalTo('id', $id);
		}

		return $this->fetchByWhere($where);
	}
public function deleteById($id)
	{
		$where = new Where();

		if (is_array($id)) {
			if (count($id) == 0) {
				return null;
			}
			$where->in('id', $id);
		} else {
			$where->equalTo('id', $id);
		}

		return $this->fetchByWhere($where);
	}
public function deleteById ( $ id ) { $ where = new Where ( ) ; if ( is_array ( $ id ) ) { if ( count ( $ id ) == 0 ) { return null ; } $ where -> in ( 'id' , $ id ) ; } else { $ where -> equalTo ( 'id' , $ id ) ; } return $ this -> fetchByWhere ( $ where ) ; }
Delete jobs(s) by its/their ID(s).

@param integer|array $id
@return Result|HydratingResultSet|JobEntity|null
Delete jobs ( s ) by its / their ID ( s ) .