The interface Sonata\CoreBundle\Model\ManagerInterface has been deprecated with message: since 3.x, to be removed in 4.0.
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
The interface Sonata\CoreBundle\Model\PageableManagerInterface has been deprecated with message: since 3.x, to be removed in 4.0.
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
20
{
21
/**
22
* @return int
23
*/
24
public function countStates();
25
26
/**
27
* @param $maxAge
28
*/
29
public function cleanup($maxAge);
30
31
/**
32
* Cancels a given Message.
33
*
34
* @param MessageInterface $message
35
*/
36
public function cancel(MessageInterface $message);
37
38
/**
39
* Restarts a given message (cancels it and returns a new one, ready for publication).
40
*
41
* @param MessageInterface $message
42
*
43
* @return MessageInterface $message
44
*/
45
public function restart(MessageInterface $message);
46
47
/**
48
* @param array $types
49
* @param int $state
50
* @param int $batchSize
51
*
52
* @return MessageInterface[]
53
*/
54
public function findByTypes(array $types, $state, $batchSize);
55
56
/**
57
* @param array $types
58
* @param $state
59
* @param $batchSize
60
* @param null $maxAttempts
61
* @param int $attemptDelay
62
*
63
* @return mixed
64
*/
65
public function findByAttempts(array $types, $state, $batchSize, $maxAttempts = null, $attemptDelay = 10);
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.