public function willBeDeleted(\DateTime $at = null)
    {
        if ($this->deletedAt === null) {

            return false;
        }
        if ($at === null) {

            return true;
        }

        return $this->deletedAt <= $at;
    }
public function willBeDeleted(\DateTime $at = null)
    {
        if ($this->deletedAt === null) {

            return false;
        }
        if ($at === null) {

            return true;
        }

        return $this->deletedAt <= $at;
    }
public function willBeDeleted ( \ DateTime $ at = null ) { if ( $ this -> deletedAt === null ) { return false ; } if ( $ at === null ) { return true ; } return $ this -> deletedAt <= $ at ; }
Checks whether the entity will be deleted.

@return Boolean
Checks whether the entity will be deleted .