Timeline/Spread/ReplySpread.php
public function supports(ActionInterface $action)
    {
        // Only supports new posts.
        $object = $action->getComponent('directComplement')->getData();
        if (!$object instanceof Post || 'reply' != $action->getVerb()) {
            return false;
        }

        return true;
    }
public function supports(ActionInterface $action)
    {
        // Only supports new posts.
        $object = $action->getComponent('directComplement')->getData();
        if (!$object instanceof Post || 'reply' != $action->getVerb()) {
            return false;
        }

        return true;
    }
public function supports ( ActionInterface $ action ) { // Only supports new posts. $ object = $ action -> getComponent ( 'directComplement' ) -> getData ( ) ; if ( ! $ object instanceof Post || 'reply' != $ action -> getVerb ( ) ) { return false ; } return true ; }
{@inheritdoc}

@param ActionInterface $action The action to spread.

@return bool
{ @inheritdoc }